Skip to content

Commit

Permalink
chore: fix release job (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoandre-avaiga committed Aug 27, 2024
1 parent 16d2439 commit 716a4cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-and-release-single-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ jobs:
${{ github.event.inputs.target_package }} >> $GITHUB_OUTPUT
build-and-release-package:
permissions:
contents: write
needs: [fetch-versions]
timeout-minutes: 20
runs-on: ubuntu-latest
Expand Down Expand Up @@ -159,6 +157,9 @@ jobs:
working-directory: ${{ steps.set-variables.outputs.package_dir }}
run: |
python -m build
- name: Rename files
run: |
for file in ./dist/*; do mv "$file" "${file//_/-}"; done
- name: Create tag and release
Expand All @@ -175,7 +176,7 @@ jobs:

- name: Ensure Taipy release is marked as latest
run: |
gh release edit ${{needs.fetch-versions.outputs.taipy_VERSION}} --latest
gh release edit ${{needs.fetch-versions.outputs.taipy_VERSION}} --latest
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 0 additions & 6 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ jobs:
run: |
python tools/release/setup_version.py ALL ${{ github.event.inputs.release_type }} ${{ github.event.inputs.target_version }} ${{ steps.extract_branch.outputs.branch }} >> $GITHUB_OUTPUT
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update version to ${{ steps.version-setup.outputs.NEW_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build-and-release-taipy-packages:
needs: [fetch-versions]
timeout-minutes: 20
Expand Down

0 comments on commit 716a4cb

Please sign in to comment.