Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Set tag, version, and name for the release specifically.
Browse files Browse the repository at this point in the history
  • Loading branch information
natikgadzhi committed Jul 12, 2020
1 parent 53d3656 commit 8874ebc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
id: build-release
run: |
poetry build
echo "::set-env name=NOTOMA_RELEASE_TAG:::${{github.ref}}"
echo "::set-env name=NOTOMA_RELEASE_TAG::${{github.ref}}"
echo "::set-env name=NOTOMA_RELEASE_VERSION::${NOTOMA_RELEASE_TAG:1}"
echo "::set-env name=NOTOMA_RELEASE_NAME::notoma-${NOTOMA_RELEASE_TAG:1}.tar.gz"
echo "::set-env name=NOTOMA_RELEASE_PATH::dist/$NOTOMA_RELEASE_NAME"
Expand All @@ -50,6 +51,9 @@ jobs:
id: release-drafter
with:
publish: true
tag: ${{ github.ref }}
name: ${{ github.ref }}
version: ${{ env.NOTOMA_RELEASE_VERSION }}
# TODO: Add a check for *-pre in tag ref and use that as prerelease: input
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "notoma"
version = "0.2.3"
version = "0.2.4"
description = "Write and publish your blog articles from Notion."
authors = ["Nate Gadzhibalaev <[email protected]>"]

Expand Down

0 comments on commit 8874ebc

Please sign in to comment.