Update .forgejo/workflows/build+release.yml
Some checks failed
Run Tests on Code / test (push) Successful in 1m35s
Build and Release Docker Image / test (push) Failing after 1m5s
Build and Release Docker Image / build (push) Has been skipped

This commit is contained in:
Neshura 2023-12-20 07:39:19 +00:00
parent 04f4d4b86d
commit 7e2f5155f0

View file

@ -35,6 +35,7 @@ jobs:
-
name: Check if Version in package.json matches Tag
run: |
echo "Test"
VERSION=$(cat package.json | grep -E "(^|\|)version\":" | cut -f2- -d= | tr -d \" | tr -d " ")
if test $VERSION != "${{ github.ref_name }}"; then
echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'";