Skip to content

Commit

Permalink
don't run semantic release on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Oct 8, 2024
1 parent 6906ad5 commit 30c8462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
DOC_FILE="docs/v3/openapi.json docs/admin/openapi.json"
CLOWDER_FILE=deploy/clowdapp.yaml
VERSION=$(cat VERSION)
[ "$(git log -1 --pretty=%B)" == "$VERSION" ] && exit 0
RELEASE_TYPE=$(git log -1 | tail -n1) # Check release type (/major, /minor, /patch (default))
VERSION_NEXT=$(./scripts/increment_version.sh $VERSION $RELEASE_TYPE)
sed -i 's|\("version": "\)[^"]*\("\)$|'"\1$VERSION_NEXT\2|;" $DOC_FILE
Expand Down

0 comments on commit 30c8462

Please sign in to comment.