Skip to content

Commit

Permalink
chore(weave): Update release action #2642
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtruong authored Oct 9, 2024
1 parent 8de34ca commit 9230856
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- run: |
pip install build twine
./build_dist.py
if [[ -n "$(git status weave_query/weave_query/frontend/sha1.txt --porcelain)" ]]
then
echo "::error cannot publish release, commited SHA does not match build SHA"
exit 1
fi
- name: Install uv
run: |
pip install uv
- name: Build dist
run: |
uv build
- name: upload test distribution
uses: pypa/gh-action-pypi-publish@release/v1
if: ${{ inputs.is_test }}
Expand Down

0 comments on commit 9230856

Please sign in to comment.