Skip to content

Commit

Permalink
Create release (#76)
Browse files Browse the repository at this point in the history
* feat: add release create step in CD
* chore(deps): update action dependencies [#none]
* chore(ci): remove body from pre-release template

Co-authored-by: Brandon H. Gomes <[email protected]>
  • Loading branch information
tommyjk21 and bhgomes authored May 20, 2022
1 parent d7d9a8b commit 239557b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ jobs:
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build manta-signer test server
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Get version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: echo "VERSION=$(cat Cargo.toml | grep ^version | awk -F'=' '{print $2}' | tr -d '\" ')" >> $GITHUB_ENV
outputs:
release_version: ${{ env.VERSION }}
Expand Down Expand Up @@ -54,9 +54,9 @@ jobs:
target: darwin
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Cache Cargo build dir
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-cargo
with:
Expand All @@ -67,7 +67,7 @@ jobs:
${{ matrix.os }}-build-
${{ matrix.os }}-
- name: Cache target dir
uses: actions/cache@v2
uses: actions/cache@v3
env:
cache-name: cache-target
with:
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/[email protected]
id: tag_version
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.create_release.outputs.tag }}
release_name: Release ${{ steps.create_release.outputs.tag }}
draft: false
prerelease: true

0 comments on commit 239557b

Please sign in to comment.