From 5f3730c44991eb051cb8a8818a986e43072917b4 Mon Sep 17 00:00:00 2001 From: Kegan Maher Date: Fri, 22 Mar 2024 00:15:04 +0000 Subject: [PATCH] fix(ci): clean up release version parsing --- .github/workflows/release.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3aa6eb3..a9e5659 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,10 +56,8 @@ jobs: # run littlepay first, so `littlepay -v` doesn't create the config file (which outputs a message) run: | pip install -e . - littlepay output=$(littlepay -v) version=${output/littlepay /} - version=${version/.0/.} echo "PYPI_RELEASE_URL=https://test.pypi.org/project/calitp-littlepay/$version" >> "$GITHUB_OUTPUT" - name: Publish to PyPI @@ -74,10 +72,8 @@ jobs: # run littlepay first, so `littlepay -v` doesn't create the config file (which outputs a message) run: | pip install -e . - littlepay output=$(littlepay -v) version=${output/littlepay /} - version=${version/.0/.} echo "PYPI_RELEASE_URL=https://pypi.org/project/calitp-littlepay/$version" >> "$GITHUB_OUTPUT" - name: Release