Skip to content

Commit

Permalink
Hotfix: fix GitHub action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Takishima committed Apr 11, 2022
1 parent 7a3b95b commit 2b48dd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draft_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
id: make-commit
run: |
git add CHANGELOG.md
git commit --message "Preparing release v${{ github.event.inputs.tag }}"
git commit --message "Preparing release ${{ github.event.inputs.tag }}"
echo "::set-output name=commit::$(git rev-parse HEAD)"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
VERSION=${BRANCH_NAME#release/}
git tag v${VERSION} master
git tag ${VERSION} master
- name: Extract version from branch name (for hotfix branches) (Unix)
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'hotfix/') && runner.os != 'Windows'
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
if: github.event_name == 'pull_request' && startsWith(github.event.pull_request.head.ref, 'release/')
run: |
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
VERSION=${BRANCH_NAME#release/}
VERSION=${BRANCH_NAME#release/v}
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
Expand Down

0 comments on commit 2b48dd4

Please sign in to comment.