diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 115fd62..ed25456 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,9 +44,9 @@ jobs: PACKAGE_DOWNLOAD: ${{fromJSON(steps.get_vars.outputs.MODULE_JSON).download}} run: | # Validate that the tag being released matches the package version. - if [[ ! $TAG_NAME == release-$PACKAGE_VERSION ]]; then + if [[ ! $TAG_NAME == v$PACKAGE_VERSION ]]; then echo "The module.json version does not match tag name." - echo "module.json: $PACKAGE_VERSION" + echo "module.json: v$PACKAGE_VERSION" echo "tag name: $TAG_NAME" echo "Please fix this and push the tag again." exit 1