mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
Fixed create-release-branch
failing with non-core tags
- the create-release-branch workflow works by getting the most recent tag, bumping it and using that to create the new tag - now we've moved Portal into the monorepo, we've got two different types of flags, but the Portal ones aren't valid semver so the workflow fails if the most recent tag is one for Portal - this fixes that by ensuring we only fetch tags matching the pattern we use for tagging Ghost
This commit is contained in:
parent
7b5ce01eff
commit
0609ec2525
2
.github/workflows/create-release-branch.yml
vendored
2
.github/workflows/create-release-branch.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
|
||||
- run: |
|
||||
echo "CURRENT_SHA=$(git rev-parse HEAD)" >> $GITHUB_ENV
|
||||
echo "NEW_VERSION=$(semver bump ${{ inputs.bump-type }} $(git describe --tags --abbrev=0))" >> $GITHUB_ENV
|
||||
echo "NEW_VERSION=$(semver bump ${{ inputs.bump-type }} $(git describe --tags --abbrev=0 --match=\"v*\"))" >> $GITHUB_ENV
|
||||
|
||||
- name: Create branch
|
||||
uses: actions/github-script@v6
|
||||
|
Loading…
Reference in New Issue
Block a user