Skip to content

Commit

Permalink
Build correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jan 3, 2023
1 parent dd2b6fd commit 467d437
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
context: .
push: false
target: builder
build-args: ${{ env.QGIS_VERSION_TAG }}
build-args: QGIS_VERSION=${{ env.QGIS_VERSION_TAG }}
cache-to: type=local,dest=cache

- name: Build and push release
Expand All @@ -58,7 +58,7 @@ jobs:
context: .
push: true
target: release
build-args: ${{ env.QGIS_VERSION_TAG }}
build-args: QGIS_VERSION=${{ env.QGIS_VERSION_TAG }}
cache-from: type=local,src=cache
tags: |
ghcr.io/opengisch/qgis-slim:latest
Expand All @@ -73,7 +73,7 @@ jobs:
context: .
push: true
target: debug
build-args: ${{ env.QGIS_VERSION_TAG }}
build-args: QGIS_VERSION=${{ env.QGIS_VERSION_TAG }}
cache-from: type=local,src=cache
tags: |
ghcr.io/opengisch/qgis-slim-debug:latest
Expand Down
4 changes: 2 additions & 2 deletions scripts/get_latest_qgis_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ def extract(release, github_token):
"ltr": {
"short_version": current_ltr,
"patch_version": releases[current_ltr],
"tag_name": f'release-{releases[current_ltr].replace(".", "_")}',
"tag_name": f'final-{releases[current_ltr].replace(".", "_")}',
},
"stable": {
"short_version": current_release,
"patch_version": releases[current_release],
"tag_name": f'release-{releases[current_release].replace(".", "_")}',
"tag_name": f'final-{releases[current_release].replace(".", "_")}',
},
}

Expand Down

0 comments on commit 467d437

Please sign in to comment.