A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Fixes beta or rcs from updating the latest Docker tag
Trenton Holmes2ef2a561efcf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 980a3570a..bbbc12032 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -3,9 +3,10 @@ name: cion:push:tags:+ # https://semver.org/#spec-item-2- 'v[0-9]+.[0-9]+.[0-9]+'- - 'v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'- - 'beta-[0-9]+.[0-9]+.[0-9]+-rc[0-9]+'+ # https://semver.org/#spec-item-9+ - 'v[0-9]+.[0-9]+.[0-9]+-beta.rc[0-9]+'branches-ignore:- 'translations**'pull_request:@@ -54,7 +55,7 @@ jobs:prepare-docker-build:name: Prepare Docker Pipeline Data- if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/beta' || startsWith(github.ref, 'refs/tags/v') || startsWith(github.ref, 'refs/tags/beta-'))+ if: github.event_name == 'push' && (startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev' || github.ref == 'refs/heads/beta' || contains(github.ref, 'beta.rc') || startsWith(github.ref, 'refs/tags/v'))runs-on: ubuntu-20.04needs:- documentation@@ -263,8 +264,6 @@ jobs:tags: |# Tag branches with branch nametype=ref,event=branch- # Tag tags with tag name- type=ref,event=tag# Process semver tags# For a tag x.y.z or vX.Y.Z, output an x.y.z and x.y image tagtype=semver,pattern={{version}}@@ -389,7 +388,7 @@ jobs:runs-on: ubuntu-20.04needs:- build-release- if: github.ref_type == 'tag' && (startsWith(github.ref_name, 'v') || startsWith(github.ref_name, 'beta-'))+ if: github.ref_type == 'tag' && (startsWith(github.ref_name, 'v') || contains(github.ref_name, '-beta.rc'))steps:-name: Download release artifact@@ -401,12 +400,11 @@ jobs:name: Get versionid: get_versionrun: |- if [[ $GITHUB_REF == refs/tags/v* ]]; then- echo ::set-output name=version::${{ github.ref_name }}- echo ::set-output name=prerelease::false- elif [[ $GITHUB_REF == refs/tags/beta-* ]]; then- echo ::set-output name=version::${{ github.ref_name }}+ echo ::set-output name=version::${{ github.ref_name }}+ if [[ ${{ contains(github.ref_name, '-beta.rc') }} == 'true' ]]; thenecho ::set-output name=prerelease::true+ else+ echo ::set-output name=prerelease::falsefi-name: Create Release and Changelog