Skip to content

Commit 5f7d4f3

Browse files
chore: Add package version to the environment URL (#117)
1 parent 0d273e1 commit 5f7d4f3

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@ permissions:
1010
jobs:
1111
build:
1212
runs-on: ubuntu-latest
13+
outputs:
14+
package_version: ${{ steps.baipp.outputs.package_version }}
1315
steps:
1416
- uses: actions/checkout@v4
1517
with:
1618
fetch-depth: 0
1719
- uses: hynek/build-and-inspect-python-package@v2
20+
id: baipp
1821

1922
publish:
2023
runs-on: ubuntu-latest
2124
needs: build
2225
environment:
2326
name: publishing
24-
url: https://pypi.org/project/tap-betterstack
27+
url: https://pypi.org/project/tap-betterstack/${{ needs.build.outputs.package_version }}
2528
if: startsWith(github.ref, 'refs/tags/')
2629
steps:
2730
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)