Skip to content

Commit

Permalink
Fix path and git add
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Mar 19, 2024
1 parent 514bb13 commit 0bf43c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,16 @@ jobs:

- name: bump and tag nested modules
run: |
export MODULES=$(cat .github/workflows/workflow-configuration.yml | yq '.nested_modules[]' -r)
export MODULES=$(cat workflow-configuration.yml | yq '.nested_modules[]' -r)
for module in $MODULES; do
echo "Bumping $module to $VERSION"
pushd $module
go get github.com/nextmv-io/sdk@$VERSION
go mod tidy
popd
done
git add go.mod go.sum
git commit -m "Bump sdk to $VERSION"
git add --all
git commit -m "Bump nested modules to $VERSION"
git push
for module in $MODULES; do
git tag -s $module/$VERSION -m "Release $module/$VERSION"
Expand Down

0 comments on commit 0bf43c9

Please sign in to comment.