Skip to content

Commit 46e43c2

Browse files
committed
wip
1 parent f75f2da commit 46e43c2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/draft-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Prepare Build
1313
runs-on: ubuntu-latest
1414
outputs:
15-
package_version: ${{ steps.vars.outputs.package_version }}
15+
conan_version: ${{ steps.vars.outputs.conan_version }}
1616
is_release_branch: ${{ steps.vars.outputs.is_release_branch }}
1717

1818
steps:
@@ -24,7 +24,7 @@ jobs:
2424
run: |
2525
# Extract version from __init__.py
2626
VERSION=$(awk -F"'" '/__version__ =/ {print $2}' conan/__init__.py)
27-
echo "package_version=$VERSION" >> $GITHUB_OUTPUT
27+
echo "conan_version=$VERSION" >> $GITHUB_OUTPUT
2828
2929
# Check if it is a release branch and set an output
3030
IS_RELEASE_BRANCH="false"
@@ -84,7 +84,7 @@ jobs:
8484
ARCH: ${{ matrix.arch }}
8585
run: |
8686
rm -rf dist
87-
./jenkins/build_packages.sh ${{ needs.prepare.outputs.package_version }} ${{ github.sha }}
87+
./jenkins/build_packages.sh ${{ needs.prepare.outputs.conan_version }} ${{ github.sha }}
8888
8989
- name: Upload artifacts
9090
uses: actions/upload-artifact@v4
@@ -119,10 +119,10 @@ jobs:
119119
# GH_TOKEN: ${{ steps.generate_token.outputs.token }}
120120
# run: |
121121
# # Create a release in draft mode
122-
# gh release create ${{ needs.prepare.outputs.package_version }} \
122+
# gh release create ${{ needs.prepare.outputs.conan_version }} \
123123
# --repo ${{ github.repository }} \
124-
# --title "Conan ${{ needs.prepare.outputs.package_version }}" \
125-
# --notes "Release draft for version ${{ needs.prepare.outputs.package_version }}. Please review and publish." \
124+
# --title "Conan ${{ needs.prepare.outputs.conan_version }}" \
125+
# --notes "Release draft for version ${{ needs.prepare.outputs.conan_version }}. Please review and publish." \
126126
# --target ${{ github.sha }} \
127127
# --draft \
128128
# dist/*

0 commit comments

Comments
 (0)