Skip to content

Commit

Permalink
[#784] Remove release tag prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
brusdev committed Jan 26, 2024
1 parent 7677979 commit 69cf97d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ env:
IMAGE_NAME: activemq-artemis-operator

on:
push:
tags:
- 'v*'
workflow_dispatch:

jobs:
Expand All @@ -27,7 +24,7 @@ jobs:
run: |
git fetch --tags --force
HEAD_COMMIT="$(git rev-parse HEAD)"
RELEASE_TAG="v$(grep -m 1 -oP '(?<=Version = ")[^"]+' version/version.go)"
RELEASE_TAG="$(grep -m 1 -oP '(?<=Version = ")[^"]+' version/version.go)"
RELEASE_TAG_COMMIT="$(git rev-list -n 1 ${RELEASE_TAG} || true)"
if [ "$RELEASE_TAG_COMMIT" != "$HEAD_COMMIT" ]; then
git config user.name 'artemiscloud-bot'
Expand Down

0 comments on commit 69cf97d

Please sign in to comment.