Skip to content

Commit ddcf04a

Browse files
FIx passing variable with version in repository management workflow (#47)
1 parent 7604d6e commit ddcf04a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/repository-management.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,14 @@ jobs:
136136
echo "new_version=$NEW_VERSION" >> "$GITHUB_OUTPUT"
137137
138138
- name: Update provider version in version.go
139+
with:
140+
NEW_VERSION: ${{ steps.calculate-next-version.outputs.new_version }}
139141
run: |
140142
sed -i "s/ProviderVersion = \".*\"/ProviderVersion = \"$NEW_VERSION\"/" version/version.go
141143
142144
- name: Commit and push version update
145+
with:
146+
NEW_VERSION: ${{ steps.calculate-next-version.outputs.new_version }}
143147
run: |
144148
git add version/version.go
145149
git commit -m "Update provider version to $NEW_VERSION"

0 commit comments

Comments
 (0)