Skip to content

Commit

Permalink
Adjust script for setting version
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Bigler <nicolas.bigler@vshn.ch>
  • Loading branch information
TheBigLee committed Oct 6, 2023
1 parent cd9e8dd commit 027548f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- uses: actions/checkout@v4
- name: Change version in package
run: |
sed -i "s/componentVersion: .*/componentVersion: ${{ github.ref }}/g" package/main.yaml
yq -i '.parameters."pkg.appcat".componentVersion = "${{ GITHUB_REF#refs/*/}} "' package/main.yaml
- uses: EndBug/add-and-commit@v7
with:
default_author: user_info
message: "Update component version in package to ${{ github.ref }}"
message: "Update component version in package to ${{ GITHUB_REF#refs/*/ }}"

0 comments on commit 027548f

Please sign in to comment.