Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicitly state libqfieldsync version #550

Merged
merged 6 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TX_TOKEN: ${{ secrets.TX_TOKEN }}
GITHUB_REF: ${{ github.ref }}
if: ${{ github.event_name == 'release' }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -95,9 +94,11 @@ jobs:
sudo pip install qgis-plugin-ci
- name: Package libqfieldsync
run: |
python3 -m pip install pip -U # https://github.com/pypa/setuptools/issues/3269
pip wheel $(grep -o -P '(https://.*.tar.gz)' requirements.txt)
mv libqfieldsync-*.whl qfieldsync/libqfieldsync.whl
- name: Release
if: ${{ github.event_name == 'release' }}
run: |
RELEASE_VERSION=${GITHUB_REF##*/}
RELEASE_TAG=${GITHUB_REF##*/}
Expand All @@ -109,6 +110,16 @@ jobs:
--osgeo-password ${OSGEO_PASSWORD} \
--asset-path qfieldsync/libqfieldsync.whl

- name: Release
if: ${{ github.event_name == 'pull_request' }}
run: |
qgis-plugin-ci package dev \
--asset-path qfieldsync/libqfieldsync.whl

- uses: actions/upload-artifact@v3
with:
name: qfieldsync-plugin
path: qfieldsync.dev.zip
package:
runs-on: ubuntu-22.04
env:
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ pytest
future
transifex-client

# TODO: point to a commit on master after merging https://github.com/opengisch/libqfieldsync/pull/49
libqfieldsync @ https://github.com/opengisch/libqfieldsync/archive/master.tar.gz
libqfieldsync @ https://github.com/opengisch/libqfieldsync/archive/f3999a47f5c8394970f4fc95885a046a5b6d3a73.tar.gz
Loading