Skip to content

Commit

Permalink
set release version in package.json (it appears in the footer)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasochem committed Jan 18, 2024
1 parent 49df8f3 commit 69f3d21
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ jobs:
with:
fetch-depth: 1

# Add a step to set the version in package.json
- name: Set Version in package.json
if: startsWith(github.ref, 'refs/tags/')
run: |
VERSION=$(echo ${{ github.ref }} | sed 's/refs\/tags\///')
npm version $VERSION --no-git-tag-version
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
Expand Down

0 comments on commit 69f3d21

Please sign in to comment.