Skip to content

Commit

Permalink
Do not check version
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Dec 9, 2024
1 parent 1d607bc commit ce85d9b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ jobs:
submodules: recursive
ref: ${{ github.ref_name }}

- name: Check version
id: version_check
run: |
# Extract version number
VERSION=$(jq '.version' -r app/package.json)
TAG_VERSION=1.7.4 #${{ github.ref_name }}
if [ "$VERSION" != "$TAG_VERSION" ]; then
echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION"
exit 1
fi
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "CONTAINER_TAG=${{ env.ECR_REPO }}:$VERSION" >> $GITHUB_OUTPUT
#- name: Check version
# id: version_check
# run: |
# # Extract version number
# VERSION=$(jq '.version' -r app/package.json)
#
# TAG_VERSION=1.7.4 #${{ github.ref_name }}
# if [ "$VERSION" != "$TAG_VERSION" ]; then
# echo "Tag version is not correct. Tag version: $TAG_VERSION version from package.json: $VERSION"
# exit 1
# fi
# echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
# echo "CONTAINER_TAG=${{ env.ECR_REPO }}:$VERSION" >> $GITHUB_OUTPUT

- name: Check if image exist
run: |
Expand Down

0 comments on commit ce85d9b

Please sign in to comment.