Ensure we lock releases to tags, mark pre-releases as such
@@ -43,6 +43,8 @@ jobs:
pluginId: "nucleus"
- name: Upload to Github Releases
uses: softprops/action-gh-release@v1
+ if: startsWith(github.ref, 'refs/tags/')
with:
+ prerelease: ${{ contains(github.ref, "BETA") || contains(github.ref, "ALPHA") || contains(github.ref, "RC") || contains(github.ref, "PR") }}
body_path: output/changelog.md
files: output/*.jar
\ No newline at end of file
