Skip to content

Commit

Permalink
Mark builds off other branches as prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
foosel committed Feb 22, 2023
1 parent e0d49a9 commit 9d3b335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/custopize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
name: "${{ env.RELEASE_NAME }}"
tag_name: "${{ env.RELEASE_TAG }}"
body_path: "build/release.md"
prerelease: ${{ contains(env.OCTOPRINT_VERSION, 'rc') }}
prerelease: ${{ github.ref != 'refs/heads/main' || contains(env.OCTOPRINT_VERSION, 'rc') || contains(env.OCTOPI_VERSION, 'rc') }}
fail_on_unmatched_files: true
files: |
build/${{ env.IMAGE_ZIP }}
Expand Down

0 comments on commit 9d3b335

Please sign in to comment.