Skip to content

Commit

Permalink
keep only 1 lines of releases
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 23, 2023
1 parent 9061e84 commit 7e3ce56
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/downgraded_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
# avoid infinite looping, skip tags that ends with ".72"
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-including-and-excluding-branches
- '*'
- '!**.72'

jobs:
downgrade_release:
Expand Down Expand Up @@ -61,5 +60,7 @@ jobs:
# separate a "git add" to add untracked (new) files too
git add --all
git commit -m "release PHP 7.2 downgraded"
git tag "${GITHUB_REF#refs/tags/}.72"
git push origin "${GITHUB_REF#refs/tags/}.72"
# force push tag, so there is only 1 version
git tag "${GITHUB_REF#refs/tags/}" --force
git push origin "${GITHUB_REF#refs/tags/}" --force

0 comments on commit 7e3ce56

Please sign in to comment.