Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
tag push?
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina authored Jan 17, 2024
1 parent 63a9651 commit 6779792
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,15 @@ jobs:
git config --local user.name "LuckyBeast"
if (git diff --shortstat | grep '[0-9]'); then \
git commit -am "Bump version to ${{ steps.next_version.outputs.next }}"
git tag -a ${{ steps.next_version.outputs.next }} -m "Bump version to ${{ steps.next_version.outputs.next }}"
git tag "${{ steps.next_version.outputs.next }}"
git push origin HEAD:${{ github.ref_name }}
git push origin HEAD:release/${{ steps.next_version.outputs.next }} --tags
git push origin "${{ steps.next_version.outputs.next }}"
git push origin HEAD:release/${{ steps.next_version.outputs.next }}
fi
# リリースを作成
- name: Create release
run: |
gh release create ${{ steps.next_version.outputs.next }} --prerelease --title "${{ steps.next_version.outputs.next }}" --notes "${{ steps.changelog.outputs.changelog }}"
gh release create "${{ steps.next_version.outputs.next }}"" --prerelease --title "${{ steps.next_version.outputs.next }}" --notes "${{ steps.changelog.outputs.changelog }}"
# CHANGELOG.mdにUnreleasedを追加
# 環境変数から挿入する部分: https://qiita.com/sahayan/items/8658992f0f48eb5d2bc4
- name: Modify CHANGELOG.md
Expand Down

0 comments on commit 6779792

Please sign in to comment.