diff --git a/.github/workflows/build_job.yml b/.github/workflows/build_job.yml index 81ab7c76..ba50d9e9 100644 --- a/.github/workflows/build_job.yml +++ b/.github/workflows/build_job.yml @@ -81,7 +81,7 @@ jobs: - name: Get the release script run: > curl -H 'Cache-Control: no-cache' -Ls -o bump.py - https://raw.githubusercontent.com/FREVA-CLINT/freva-deployment/versions/release.py + https://raw.githubusercontent.com/FREVA-CLINT/freva-deployment/main/release.py - name: Get tag id: repository @@ -90,7 +90,7 @@ jobs: echo "tag=$(cat package.json|jq -r .version)" >> $GITHUB_OUTPUT - name: Do the release job - run: python3 bump.py deploy django_evaluation -b versions -v + run: python3 bump.py deploy web -v env: GITHUB_TOKEN: ${{secrets.ACCESS_TOKEN}} REPO_VERSION: ${{ steps.repository.outputs.tag }} diff --git a/.gitignore b/.gitignore index f712de07..063365b1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *.pyc *.db *.log +bump.py virt static_root/img/favicon.svg freva_web.conf diff --git a/Makefile b/Makefile index d0693463..e2c769e7 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,6 @@ tests: setup-node release: pip install git-python requests packaging tomli - curl -H 'Cache-Control: no-cache' -Ls -o bump.py https://raw.githubusercontent.com/FREVA-CLINT/freva-deployment/versions/release.py - python3 bump.py tag django_evaluation -v + curl -H 'Cache-Control: no-cache' -Ls -o bump.py https://raw.githubusercontent.com/FREVA-CLINT/freva-deployment/main/release.py + python3 bump.py tag web -v rm bump.py