diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37fee399..c4a8d91d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -89,11 +89,6 @@ jobs: shell: bash run: | version="${{ github.ref }}" - if [[ "$version" = "refs/heads/main" ]]; then - version="0.0.0-dev" - else - version="${version/refs\/tags/}" - fi sed -i -e "s/0.0.0+replaced-by-ci/${version}/g" Cargo.toml pyproject="$(cat extism-maturin/pyproject.toml)" <<<"$pyproject" >extism-maturin/pyproject.toml sed -e 's/^version = "0.0.0.replaced-by-ci"/version = "'"$version"'"/g'