Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephenodrom committed Feb 1, 2024
1 parent 27981f5 commit 793ea5e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ jobs:

- name: Publish Release
run: |
gh release create v${{ env.PACKAGE_VERSION }} \
RELEASE_VERSION=$(dart get_version.dart)
gh release create $RELEASE_VERSION \
dist/my-binary.zip \
-t "Release v${{ env.PACKAGE_VERSION }}" \
-n "$(cat RELEASE_NOTES.md)"
-t "Release $RELEASE_VERSION" \
-n "Release $RELEASE_VERSION"

- name: Create Git Tag
run: git tag v${{ env.PACKAGE_VERSION }} && git push origin v${{ env.PACKAGE_VERSION }}
run: |
RELEASE_VERSION=$(dart get_version.dart)
git tag $RELEASE_VERSION && git push origin $RELEASE_VERSION

0 comments on commit 793ea5e

Please sign in to comment.