Skip to content

Commit ce00993

Browse files
committed
fix outputs facepam
1 parent 3bff84d commit ce00993

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -111,19 +111,19 @@ jobs:
111111
steps:
112112
- name: Validate commit SHA
113113
run: |
114-
COMMIT_SHA="${{ needs.update_changelog.changelog_commitish }}"
114+
COMMIT_SHA="${{ needs.update_changelog.outputs.changelog_commitish }}"
115115
if [ -z "$COMMIT_SHA" ]; then
116116
echo "ERROR: changelog_commitish is empty!"
117117
exit 1
118118
fi
119119
echo "Using commit SHA: $COMMIT_SHA"
120120
- uses: actions/checkout@v4
121121
with:
122-
ref: ${{ needs.update_changelog.changelog_commitish }}
122+
ref: ${{ needs.update_changelog.outputs.changelog_commitish }}
123123
- name: Log current commit SHA
124124
run: |
125125
CURRENT_SHA=$(git rev-parse HEAD)
126-
EXPECTED_SHA="${{ needs.update_changelog.changelog_commitish }}"
126+
EXPECTED_SHA="${{ needs.update_changelog.outputs.changelog_commitish }}"
127127
echo "Expected commit SHA: $EXPECTED_SHA"
128128
echo "Actual checked out SHA: $CURRENT_SHA"
129129
if [ "$EXPECTED_SHA" != "$CURRENT_SHA" ]; then
@@ -136,11 +136,11 @@ jobs:
136136
EXPECTED_VERSION="${{ needs.release_metadata.outputs.version_number }}"
137137
ACTUAL_VERSION=$(jq -r '.version' manifest.json)
138138
139-
echo "Expected version: $EXPECTED_VERSION"
140-
echo "Actual version in manifest.json: $ACTUAL_VERSION"
141-
echo "Current commit SHA: ${{ needs.update_changelog.changelog_commitish }}"
139+
echo "Expected version: $EXPECTED_VERSION"
140+
echo "Actual version in manifest.json: $ACTUAL_VERSION"
141+
echo "Current commit SHA: ${{ needs.update_changelog.outputs.changelog_commitish }}"
142142
143-
if [ "$EXPECTED_VERSION" != "$ACTUAL_VERSION" ]; then
143+
if [ "$EXPECTED_VERSION" != "$ACTUAL_VERSION" ]; then
144144
echo "ERROR: Version mismatch! Expected $EXPECTED_VERSION but found $ACTUAL_VERSION in manifest.json"
145145
exit 1
146146
fi
@@ -186,7 +186,7 @@ jobs:
186186
# steps:
187187
# - uses: actions/checkout@v4
188188
# with:
189-
# ref: ${{ needs.update_changelog.changelog_commitish }}
189+
# ref: ${{ needs.update_changelog.outputs.changelog_commitish }}
190190
# - name: Use Node.js 22
191191
# uses: actions/setup-node@v4
192192
# with:

0 commit comments

Comments
 (0)