Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Dynamically update commitish so it should pick things for the changelog from beta

stumpylog749079963ead
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml
index 65dd56773..98dbaa024 100644
--- a/.github/workflows/ci-release.yml
+++ b/.github/workflows/ci-release.yml
@@ -177,7 +177,7 @@ jobs:
version: ${{ steps.get-version.outputs.version }}
prerelease: ${{ steps.get-version.outputs.prerelease }}
publish: true
- commitish: main
+ commitish: ${{ steps.get-version.outputs.prerelease == 'true' && 'dev' || 'main' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload release archive