Skip to content

Commit

Permalink
add commit (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
xjasonlyu authored Dec 15, 2023
1 parent 8fe765f commit 6fd4e5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,18 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Generate Version
id: shell
run: |
echo "commit=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "version=$(date -u '+%Y.%-m%d.%-H%M.0')" >> $GITHUB_OUTPUT
- name: Make bundle
run: |
echo v${{ steps.shell.outputs.version }} > VERSION
echo v${{ steps.shell.outputs.version }}-${{ steps.shell.outputs.commit }} | tee VERSION
mkdir -p MetaTube.bundle/
mv LICENSE MetaTube.bundle/
mv VERSION MetaTube.bundle/
Expand Down

0 comments on commit 6fd4e5a

Please sign in to comment.