Skip to content

Commit

Permalink
Fixed version form tag
Browse files Browse the repository at this point in the history
  • Loading branch information
niko.usai committed Dec 10, 2021
1 parent 147a2de commit 1718b1a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set VERSION
id: vars
run: |
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#api-})"
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#refs/tags/api-})"
echo "VERSION=${{steps.vars.outputs.VERSION}}"
- uses: ./.github/actions/docker-publish
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/import-engine-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set VERSION
id: vars
run: |
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#import-})"
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#refs/tags/import-})"
echo "VERSION=${{steps.vars.outputs.VERSION}}"
- name: Build
run: mvn --batch-mode --update-snapshots -Drevision=${{steps.vars.outputs.VERSION}} verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kafka-connect-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set VERSION
id: vars
run: |
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#connect-})"
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#refs/tags/connect-})"
echo "VERSION=${{steps.vars.outputs.VERSION}}"
- uses: ./.github/actions/docker-publish
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mongodb-sink-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set VERSION
id: vars
run: |
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#sink-})"
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#refs/tags/sink-})"
echo "VERSION=${{steps.vars.outputs.VERSION}}"
- name: Build
run: mvn --batch-mode --update-snapshots -Drevision=${{steps.vars.outputs.VERSION}} verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/parent-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set VERSION
id: vars
run: |
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#libs-})"
echo "::set-output name=VERSION::$(echo ${GITHUB_REF#refs/tags/libs-})"
echo "VERSION=${{steps.vars.outputs.VERSION}}"
- name: Publish package
run: mvn --batch-mode -Drevision=${{steps.vars.outputs.VERSION}} deploy sonar:sonar
Expand Down

0 comments on commit 1718b1a

Please sign in to comment.