Skip to content

Commit

Permalink
dev: adds auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperalani committed Jan 9, 2024
1 parent ba937e8 commit 8d1b1bf
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,14 @@ jobs:
chmod +x ./update_version.sh
./update_version.sh
- name: Commit changes
run: |
git config --local user.email ${{ github.actor }}@users.noreply.github.com
git config --local user.name ${{ github.actor }}
git add ./build.gradle
git add ./src/main/resources/META-INF/mods.toml
git commit -m "update version to ${{ needs.tag_and_release.outputs.new_tag }}"
git push origin main --force
uses: stefanzweifel/git-auto-commit-action@v5
# run: |
# git config --local user.email ${{ github.actor }}@users.noreply.github.com
# git config --local user.name ${{ github.actor }}
# git add ./build.gradle
# git add ./src/main/resources/META-INF/mods.toml
# git commit -m "update version to ${{ needs.tag_and_release.outputs.new_tag }}"
# git push origin main --force
build_and_release_on_modrinth_and_curseforge:
needs: [tag_and_release, tests]
name: Build and release ${{ matrix.platform }}
Expand Down

0 comments on commit 8d1b1bf

Please sign in to comment.