|
@@ -11,6 +11,9 @@ on:
|
|
|
description: "The type of release to be made (dev or production)"
|
|
|
default: "dev"
|
|
|
required: true
|
|
|
+ target_version:
|
|
|
+ description: "The version of the package to be released"
|
|
|
+ required: true
|
|
|
|
|
|
jobs:
|
|
|
fetch-versions:
|
|
@@ -25,10 +28,15 @@ jobs:
|
|
|
NEW_VERSION: ${{ steps.version-setup.outputs.NEW_VERSION }}
|
|
|
steps:
|
|
|
- uses: actions/checkout@v4
|
|
|
+ - name: Extract commit hash
|
|
|
+ shell: bash
|
|
|
+ run: echo "HASH=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
|
|
|
+ id: extract_hash
|
|
|
+
|
|
|
- name: Setup Version
|
|
|
id: version-setup
|
|
|
run: |
|
|
|
- python tools/release/setup_version.py ALL ${{ github.event.inputs.release_type }} ${{ github.event.inputs.version }} ${{ steps.extract_branch.outputs.branch }} >> $GITHUB_OUTPUT
|
|
|
+ python tools/release/setup_version.py ALL ${{ github.event.inputs.release_type }} ${{ github.event.inputs.target_version }} ${{ steps.extract_branch.outputs.branch }} >> $GITHUB_OUTPUT
|
|
|
|
|
|
build-and-release-taipy-packages:
|
|
|
needs: [fetch-versions]
|