Skip to content

Commit

Permalink
Change ordering of release action to avoid issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebemish committed Dec 16, 2023
1 parent 60e17c2 commit d4a14f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@
"MODRINTH_KEY": "${{ secrets.MODRINTH_KEY }}"
}
},
{
"run": "git push && git push --tags"
},
{
"name": "Publish",
"run": "./gradlew publish modrinth curseforge",
Expand All @@ -71,9 +74,6 @@
"CURSEFORGE_KEY": "${{ secrets.CURSEFORGE_KEY }}",
"MODRINTH_KEY": "${{ secrets.MODRINTH_KEY }}"
}
},
{
"run": "git push && git push --tags"
}
]
}
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ managedVersioning {
step {
setupGitUser()
}
readOnly.set false
gradlew 'tagRelease'
gradlew 'Build', 'build'
readOnly.set false
gradlew 'Publish', 'publish', 'modrinth', 'curseforge'
mavenRelease('github')
modPublishing()
step {
run.set 'git push && git push --tags'
}
gradlew 'Publish', 'publish', 'modrinth', 'curseforge'
mavenRelease('github')
modPublishing()
}
}
build_pr {
Expand Down

0 comments on commit d4a14f6

Please sign in to comment.