diff --git a/.github/actions/copy-workflow-versioning/action.yml b/.github/actions/copy-workflow-versioning/action.yml index 6acf1714..efb64ee5 100644 --- a/.github/actions/copy-workflow-versioning/action.yml +++ b/.github/actions/copy-workflow-versioning/action.yml @@ -11,8 +11,6 @@ runs: run: | git fetch origin --unshallow # we need the entire commit history version=$(git describe --tags --abbrev=0 || true) # highest released version on current branch - if [[ -n "$version" ]]; then # only deply version.json if there's at least one release - printf '{"version": "%s"}' "$version" | jq . > version.json - git add version.json - git commit -m "add version.json file" - fi + printf '{"version": "%s"}' "$version" | jq . > version.json + git add version.json + git commit -m "add version.json file"