Skip to content

Commit

Permalink
Merge pull request #417 from zhengjianhui/chore/release-action
Browse files Browse the repository at this point in the history
chore(doc): Rename examples
  • Loading branch information
zhengjianhui authored Jul 26, 2021
2 parents 24e5c14 + 67cf641 commit 1a280eb
Show file tree
Hide file tree
Showing 2 changed files with 37 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
7 changes: 7 additions & 0 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# [v0.43.0](https://github.com/nervosnetwork/ckb-sdk-java/compare/v0.42.0...v0.43.0) (2021-07-25)

### Features

* [#415](https://github.com/nervosnetwork/ckb-sdk-java/pull/415) Support Mercury version 0.1.0-rc2
* Support CKB version 0.43.0
* [#415](https://github.com/nervosnetwork/ckb-sdk-java/pull/415) Support ckb-indexer version 0.2.1

0 comments on commit 1a280eb

Please sign in to comment.