Skip to content

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

lets hope this works!

jonaswinkler127d30918d5d
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 87b527cad..d816687ca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -112,6 +112,13 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '15'
+ -
+ name: Configure version on dev branches
+ if: startsWith(github.ref, 'refs/heads/feature-') || github.ref == 'refs/heads/dev'
+ run: |
+ git_hash=$(git rev-parse --short "$GITHUB_SHA")
+ git_branch=${GITHUB_REF#refs/heads/}
+ sed -i -E 's/version: "(.*)"/version: "$git_branch $git_hash"/g' src-ui/src/environments/environment.prod.ts
-
name: Build frontend
run: ./compile-frontend.sh