Skip to content

Commit

Permalink
Updating versioning-workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWollbrink authored Oct 10, 2023
1 parent dc9dcd0 commit 0a4cdc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/versioning-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,12 @@ jobs:
rm -f version.txt
touch version.txt
echo "Version from the branch: ${GITHUB_REF_NAME}" >> version.txt
echo "Using the commit: $(git rev-parse --short "$GITHUB_SHA")" >> version.txt
echo "Using the commit: $(git rev-parse --short "$GITHUB_SHA"): ${{ github.event.head_commit.message }}" >> version.txt
shell: bash

- name: Commit and push changes
run: |
git config --global user.name "versioning pipeline"
git config --global user.email "test?"
git add -A
git commit -m "chore: writing version to version.txt"
git push

0 comments on commit 0a4cdc0

Please sign in to comment.