Skip to content

Commit

Permalink
feat(JAQPOT-101): fix sed
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed May 30, 2024
1 parent 789d12e commit ccca2cd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Publish Docker image
on:
release:
types: [ published ]
push:
branches:
- feat/JAQPOT-101/fix-sed

env:
IMAGE_NAME: upcintua/jaqpot-api
Expand All @@ -22,8 +25,7 @@ jobs:
images: ${{ env.IMAGE_NAME }}

- name: Update version in build.gradle.kts
run: >-
sed -i "s#{{VERSION_PLACEHOLDER}}#${{ steps.meta.outputs.tags }}#g" build.gradle.kts
run: sed -i "s#{{VERSION_PLACEHOLDER}}#${{ steps.meta.outputs.version }}#g" build.gradle.kts

- name: Setup Java
uses: actions/setup-java@v4
Expand Down

0 comments on commit ccca2cd

Please sign in to comment.