Skip to content

1.6.5 (Test only)

1.6.5 (Test only) #267

Workflow file for this run

name: release
on:
push:
branches:
- master
pull_request:
branches:
- master
release:
types:
- published
jobs:
release:
runs-on: ubuntu-22.04
env:
GITHUB_REF: ${{ github.ref }}
if: ${{ github.event_name == 'release' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Qt lrelease
run: |
sudo apt-get update
sudo apt-get install qtbase5-dev qttools5-dev-tools
- name: Install qgis-plugin-ci
run: pip3 install qgis-plugin-ci==2.7.*
- name: Release
run: |
VERSION=$(echo "${GITHUB_REF_NAME}" | cut -d+ -f1)
qgis-plugin-ci -v release ${VERSION} \
--release-tag ${GITHUB_REF_NAME} \
--transifex-token ${{ secrets.TX_TOKEN }} \
--github-token ${{ secrets.GITHUB_TOKEN }} \
--osgeo-username ${{ secrets.OSGEO_USERNAME }} --osgeo-password ${{ secrets.OSGEO_PASSWORD }} \
--allow-uncommitted-changes
translations:
runs-on: ubuntu-22.04
if: ${{ github.ref == 'refs/heads/master' && github.event_name == 'push' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Qt lrelease
run: |
sudo apt-get update
sudo apt-get install qtbase5-dev qttools5-dev-tools
- name: Install qgis-plugin-ci
run: pip3 install qgis-plugin-ci==2.7.*
- name: 🌍 Push translations
run: qgis-plugin-ci push-translation ${{ secrets.TX_TOKEN }}