diff --git a/.github/workflows/copr-release.yml b/.github/workflows/copr-release.yml index 53a7f556..65766520 100644 --- a/.github/workflows/copr-release.yml +++ b/.github/workflows/copr-release.yml @@ -1,9 +1,6 @@ -name: DMS Copr Stable Release +name: DMS Copr Stable Release (Manual) on: - push: - tags: - - 'v*' workflow_dispatch: inputs: version: @@ -26,12 +23,8 @@ jobs: - name: Determine version id: version run: | - # Check if triggered by tag push - if [ "${{ github.ref_type }}" = "tag" ]; then - VERSION="${{ github.ref_name }}" - VERSION="${VERSION#v}" - echo "Using tag version: $VERSION" - elif [ -n "${{ github.event.inputs.version }}" ]; then + # Get version from manual input or latest release + if [ -n "${{ github.event.inputs.version }}" ]; then VERSION="${{ github.event.inputs.version }}" echo "Using manual version: $VERSION" else @@ -46,7 +39,7 @@ jobs: echo "version=$VERSION" >> $GITHUB_OUTPUT echo "release=$RELEASE" >> $GITHUB_OUTPUT - echo "✅ Building DMS stable version: $VERSION-$RELEASE" + echo "✅ Building DMS hotfix version: $VERSION-$RELEASE" - name: Setup build environment run: |