Skip to content

Commit 7e84eb2

Browse files
committed
Debug on release version identification
Signed-off-by: Federico Busetti <[email protected]>
1 parent 2d019c5 commit 7e84eb2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ jobs:
3939
retention-days: 1
4040

4141
- name: Export version for site docs
42-
id: docs-version
43-
run: echo "$(./ci-scripts/docs-version.sh)" >> "$GITHUB_OUTPUT"
44-
42+
id: docs-version-step
43+
run: |
44+
./ci-scripts/docs-version.sh
45+
echo "Identified version: $(./ci-scripts/docs-version.sh)"
46+
echo "version=$(./ci-scripts/docs-version.sh)" >> $GITHUB_OUTPUT
4547
4648
publish:
4749
runs-on: ubuntu-latest

ci-scripts/docs-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
VERSION=$(poetry version -s)
44
SEMVER=( ${VERSION//./ } )
5-
echo "version=${SEMVER[0]}.${SEMVER[1]}"
5+
echo "${SEMVER[0]}.${SEMVER[1]}"

0 commit comments

Comments
 (0)