mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Tag on beta to prerelease
This commit is contained in:
parent
e5e94ffb6d
commit
6b5c89b6f8
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@ -4,6 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- ngx-*
|
- ngx-*
|
||||||
|
- beta-*
|
||||||
branches-ignore:
|
branches-ignore:
|
||||||
- 'translations**'
|
- 'translations**'
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -278,7 +279,7 @@ jobs:
|
|||||||
publish-release:
|
publish-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-release
|
needs: build-release
|
||||||
if: contains(github.ref, 'refs/tags/ngx-')
|
if: contains(github.ref, 'refs/tags/ngx-') || contains(github.ref, 'refs/tags/beta-')
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
name: Download release artifact
|
name: Download release artifact
|
||||||
@ -290,7 +291,13 @@ jobs:
|
|||||||
name: Get version
|
name: Get version
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
echo ::set-output name=version::${GITHUB_REF#refs/tags/ngx-}
|
if [[ $GITHUB_REF == refs/tags/ngx-* ]]; then
|
||||||
|
echo ::set-output name=version::${GITHUB_REF#refs/tags/ngx-}
|
||||||
|
echo ::set-output name=prerelease::false
|
||||||
|
elif [[ $GITHUB_REF == refs/tags/beta-* ]]; then
|
||||||
|
echo ::set-output name=version::${GITHUB_REF#refs/tags/beta-}
|
||||||
|
echo ::set-output name=prerelease::true
|
||||||
|
fi
|
||||||
-
|
-
|
||||||
name: Create release
|
name: Create release
|
||||||
id: create_release
|
id: create_release
|
||||||
@ -301,7 +308,7 @@ jobs:
|
|||||||
tag_name: ngx-${{ steps.get_version.outputs.version }}
|
tag_name: ngx-${{ steps.get_version.outputs.version }}
|
||||||
release_name: Paperless-ngx ${{ steps.get_version.outputs.version }}
|
release_name: Paperless-ngx ${{ steps.get_version.outputs.version }}
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: ${{ steps.get_version.outputs.prerelease }}
|
||||||
body: |
|
body: |
|
||||||
For a complete list of changes, see the changelog at https://paperless-ngx.readthedocs.io/en/latest/changelog.html.
|
For a complete list of changes, see the changelog at https://paperless-ngx.readthedocs.io/en/latest/changelog.html.
|
||||||
-
|
-
|
||||||
|
Loading…
x
Reference in New Issue
Block a user