Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasc-ubc authored Oct 19, 2024
1 parent 16c3cbd commit 20fa0a2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}


- name: Publish on KLayout Salt server
run: |
# Extract the tag from GITHUB_REF (e.g., 'refs/tags/v1.0.0' -> 'v1.0.0')
RELEASE_TAG=${GITHUB_REF#refs/tags/}
echo "Release tag: $RELEASE_TAG"
# Use the tag in your script
# ./your-script.sh "$RELEASE_TAG"
curl "https://sami.klayout.org/register_request?agree_terms=1&mail=lukasc%40ece.ubc.ca&provider=5&url_path=siepic%2FSiEPIC-Tools.git%2Ftags%2F$RELEASE_TAG%2Fklayout_dot_config&user=Lukas+Chrostowski"

0 comments on commit 20fa0a2

Please sign in to comment.