Skip to content

Commit

Permalink
Fix tag generation
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Aug 6, 2020
1 parent b4cad72 commit 3a1d416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Set Env
run: |
export VERSION=$(cat package.json | python3 -c "import sys, json; print(json.load(sys.stdin)['version'])")
export TAG=v${VERSION}.${GITHUB_RUN_ID}.${GITHUB_RUN_NUMBER}
#export TAG=v${VERSION}
#export TAG=v${VERSION}.${GITHUB_RUN_ID}.${GITHUB_RUN_NUMBER}
export TAG=v${VERSION}
export RELEASE_TEXT=$(grep -Pzo "## ${VERSION}\n(\n|.)+?\n##" CHANGELOG.md | sed '$ d')
RELEASE_TEXT="${RELEASE_TEXT//'%'/'%25'}"
RELEASE_TEXT="${RELEASE_TEXT//$'\n'/'%0A'}"
Expand Down

0 comments on commit 3a1d416

Please sign in to comment.