Skip to content

Commit

Permalink
[#45] 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 d38375e commit ae87666
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-broker

on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
workflow_dispatch:
inputs:
trigger_children:
Expand Down Expand Up @@ -34,7 +31,7 @@ jobs:
run: |
git fetch --tags
HEAD_COMMIT="$(git rev-parse HEAD)"
RELEASE_TAG="v$(grep -Po -m 1 '(?<=^version: ")[^"]+' image.yaml)"
RELEASE_TAG="$(grep -Po -m 1 '(?<=^version: ")[^"]+' image.yaml)"
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 ae87666

Please sign in to comment.