Skip to content

Commit 9d3b335

Browse files
committed
Mark builds off other branches as prerelease
1 parent e0d49a9 commit 9d3b335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/custopize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ jobs:
216216
name: "${{ env.RELEASE_NAME }}"
217217
tag_name: "${{ env.RELEASE_TAG }}"
218218
body_path: "build/release.md"
219-
prerelease: ${{ contains(env.OCTOPRINT_VERSION, 'rc') }}
219+
prerelease: ${{ github.ref != 'refs/heads/main' || contains(env.OCTOPRINT_VERSION, 'rc') || contains(env.OCTOPI_VERSION, 'rc') }}
220220
fail_on_unmatched_files: true
221221
files: |
222222
build/${{ env.IMAGE_ZIP }}

0 commit comments

Comments
 (0)