Skip to content

Commit

Permalink
Upgraded pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Feb 15, 2024
1 parent 3e544c6 commit da6afa1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check-moodle-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ jobs:
run: |
CURRENT_VERSION=$(git tag --sort=-v:refname | head -n 1)
if [ "$CURRENT_VERSION" != "$LATEST_MOODLE_VERSION" ]; then
echo "Latest version is already tagged"
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git tag $LATEST_MOODLE_VERSION
git push origin $LATEST_MOODLE_VERSION
else
echo "Latest version is already tagged."
fi

0 comments on commit da6afa1

Please sign in to comment.