Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix error where tag name cannot be handled #65

Merged
merged 3 commits into from
May 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix configure
  • Loading branch information
hizumiaoba committed May 17, 2024
commit 8a9de69867f943800269e322aac3d3e872238fb0
11 changes: 3 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,11 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
dry_run: true
- name: Show release informations
- name: Show release information
id: diff
run: |
LATEST_TAG=$(git describe --tags --abbrev=0)
PREVIOUS_TAG=$(git describe --tags --abbrev=0 $LATEST_TAG^)
CHANGES=$(git log $PREVIOUS_TAG..$LATEST_TAG --pretty=format:"- %s (%an)" --no-merges)
echo "LATEST_TAG=$LATEST_TAG"
echo "PREVIOUS_TAG=$PREVIOUS_TAG"
echo "CHANGES=$CHANGES"
echo "::set-output name=changelog::$CHANGES"
chmod +x ./release_check.sh
. release_check.sh
- name: Create a github release
id: create_release
uses: actions/create-release@v1
Expand Down
Loading