Skip to content

Commit

Permalink
Update on_release.yml
Browse files Browse the repository at this point in the history
change path for version.txt
  • Loading branch information
liefeld authored Jul 27, 2023
1 parent 8df0628 commit c8db969
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
token: ${{ secrets.TOKEN_FOR_ONCHANGE }}
- name: Update version.txt
run: |
echo "Version= ${GITHUB_REF_NAME}" > version.txt
echo "Creator= ${GITHUB_ACTOR}" >> version.txt
echo "Version= ${GITHUB_REF_NAME}" > caper/version.txt
echo "Creator= ${GITHUB_ACTOR}" >> caper/version.txt
NOW=`date`
echo "Date= ${NOW}" >> version.txt
echo "Date= ${NOW}" >> caper/version.txt
COMMIT_ID=`git rev-parse HEAD`
echo "CommitID=${COMMIT_ID}" >> version.txt
echo "CommitID=${COMMIT_ID}" >> caper/version.txt
- uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit c8db969

Please sign in to comment.