Skip to content

Commit

Permalink
ci: 添加发布时间
Browse files Browse the repository at this point in the history
  • Loading branch information
bosens-China committed Nov 2, 2023
1 parent ad3ffc6 commit f8a5bc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: |
echo "name=$(jq -r .name package.json)" >> "$GITHUB_ENV"
echo "version=$(jq -r .version package.json)" >> "$GITHUB_ENV"
echo "time=$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_ENV"
- name: Zip dist/index.js
run: zip -r dist/index.zip dist/index.js
Expand All @@ -56,7 +57,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.version }}
release_name: ${{ env.name }} v${{ env.version }}
release_name: ${{ env.name }} v${{ env.version }} - ${{env.time}}
body: New release
draft: false
prerelease: false
Expand Down

0 comments on commit f8a5bc3

Please sign in to comment.