Skip to content

Commit

Permalink
chore: add github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
shaojunda committed Oct 25, 2020
1 parent 94285f2 commit f097919
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
push:
tags:
- 'v*'

name: Create Release

jobs:
release:
name: Create Release
runs-on: ubuntu-latest
outputs:
output1: ${{ steps.create_release.outputs.upload_url }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get current date
id: current_date
run: echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }} (${{ steps.current_date.outputs.date }})
body_path: ./RELEASENOTES.md
draft: true
prerelease: false
11 changes: 11 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [v0.35.0](https://github.com/nervosnetwork/ckb-sdk-ruby/compare/v0.34.0...v0.35.0) (2020-08-25)


### Features

* add local_node and local_node_protocol ([0698992](https://github.com/nervosnetwork/ckb-sdk-ruby/commit/0698992))
* add more fields to peer ([4edf799](https://github.com/nervosnetwork/ckb-sdk-ruby/commit/4edf799))
* add remove_node and add_node RPC ([d943de2](https://github.com/nervosnetwork/ckb-sdk-ruby/commit/d943de2))
* add set_network_active RPC ([6cfced3](https://github.com/nervosnetwork/ckb-sdk-ruby/commit/6cfced3))
* add sync_state RPC ([4607b4c](https://github.com/nervosnetwork/ckb-sdk-ruby/commit/4607b4c))
* add tip info to tx_pool_info RPC ([d208f1f](https://github.com/nervosnetwork/ckb-sdk-ruby/commit/d208f1f))

0 comments on commit f097919

Please sign in to comment.