Compare commits
205 Commits
5ef21270b2
...
testing
| Author | SHA1 | Date | |
|---|---|---|---|
| 60f74d17bc | |||
| 8ab7bb29b2 | |||
| d3e5ce6c9c | |||
| 2403a70d68 | |||
|
|
da4f5cdb5c | ||
| 81034d63b8 | |||
| 36812dca5e | |||
| 7423abec73 | |||
| 2d78cb6ba8 | |||
| 9dbf68e55a | |||
| 739d6e150c | |||
| 184b4270bd | |||
| 94b251b3d5 | |||
| c3fb8c87ab | |||
| 5f71302df7 | |||
| 550375fa25 | |||
| 2643ef75bd | |||
| 9c36e2224c | |||
| 80e899d90f | |||
| f4d08185fe | |||
| b6f9fa33c4 | |||
| d377f49f7e | |||
| 35660ebc9e | |||
| 179657bc73 | |||
| 1cbfe63554 | |||
| 4928b07e51 | |||
| c99a3cf81c | |||
| da49d69d18 | |||
| afb05c467c | |||
| 8ce978465d | |||
| ffaed7f002 | |||
| 97e14debbe | |||
| 4c205acd49 | |||
| 06af34a284 | |||
| a0cc33d95e | |||
| 8864789ce3 | |||
| a8427da05c | |||
| a13cf55c21 | |||
| 916b4501f9 | |||
| 6d74f0ebe8 | |||
| 345c1381c8 | |||
| 043b8565ee | |||
| cb57cb4762 | |||
| 5b13d76f49 | |||
| 344d6bd4f2 | |||
| d102a30382 | |||
|
|
27e75662dd | ||
|
|
89a000466d | ||
| b41c6cadae | |||
|
|
bbe566b940 | ||
|
|
443c474415 | ||
|
|
da7edb8904 | ||
|
|
7c6e102362 | ||
|
|
04fba40dee | ||
|
|
7c8dd32cf9 | ||
| 3f427ba5ae | |||
|
|
15288d5550 | ||
|
|
d9ee9b5480 | ||
| 008fead160 | |||
|
|
0f16d26ecd | ||
|
|
b917d7f51d | ||
|
|
3998fe7c9e | ||
| cf51443b93 | |||
|
|
8c28591b56 | ||
|
|
74430d3bd1 | ||
|
|
42d6640ff8 | ||
| 8c8d67cc0c | |||
| f24bf35eba | |||
| 5c2bb87bb5 | |||
| 2fb265f248 | |||
|
|
d1ec0e9c78 | ||
| c7eaa8dd6a | |||
|
|
92c2e7bcb9 | ||
|
|
33e5be856f | ||
|
|
e017d25870 | ||
|
|
03b4b6ae2a | ||
|
|
c4ba53b17f | ||
|
|
7c71b0a9ac | ||
|
|
29759a7a4a | ||
|
|
a908970326 | ||
|
|
e760b75bf5 | ||
|
|
2223628050 | ||
|
|
bebdc996db | ||
|
|
be3811785b | ||
|
|
be1c64c1c3 | ||
|
|
2f2e78cc34 | ||
|
|
9982d125b1 | ||
|
|
69c086a3ae | ||
|
|
07f921eb03 | ||
|
|
a8deca3037 | ||
|
|
ed46846d4e | ||
|
|
8289269881 | ||
|
|
c9de2e6f47 | ||
|
|
a881362e02 | ||
|
|
1a2afb8830 | ||
|
|
8f9e14b9a5 | ||
|
|
dd2f7287c5 | ||
|
|
524c26e64e | ||
|
|
46d23087e2 | ||
|
|
541c210bf6 | ||
|
|
3d3dc098d5 | ||
|
|
23827bbd13 | ||
|
|
74d8eb468d | ||
|
|
359b91a675 | ||
|
|
c2f0fcbbb4 | ||
|
|
8a8dfc8187 | ||
|
|
61e09aff21 | ||
|
|
ed5021e268 | ||
|
|
040af9fca3 | ||
|
|
945c54e78f | ||
|
|
f01e90700b | ||
|
|
7920fb83f3 | ||
|
|
91da5ee3c0 | ||
|
|
0912ba17ca | ||
|
|
afbb7e3e65 | ||
|
|
bbbdcbcdf7 | ||
|
|
ac1d33b125 | ||
|
|
1a91574fe3 | ||
|
|
eeb4dc68b2 | ||
|
|
e7f1e7e47c | ||
|
|
0f533b32a5 | ||
|
|
aecf203932 | ||
|
|
3ee93bdc0d | ||
|
|
8ee99fa5da | ||
|
|
98fb235fb9 | ||
|
|
a58f6255fc | ||
|
|
78ffc6d6d2 | ||
|
|
00785eeabd | ||
|
|
8f0e6a9978 | ||
|
|
5f756be077 | ||
|
|
a6837e5fd2 | ||
|
|
dac2a8e973 | ||
|
|
0fa2861040 | ||
|
|
4790001f30 | ||
|
|
2eacee23f5 | ||
|
|
5d12fefb1d | ||
|
|
495a4ac049 | ||
|
|
a69d00df31 | ||
|
|
f77a8d34a0 | ||
|
|
2cb504ba51 | ||
|
|
44aae815f5 | ||
|
|
af43bfeab9 | ||
|
|
c55dedbbe1 | ||
|
|
067e0f3170 | ||
|
|
2e65ec4bc4 | ||
|
|
0ce29c9e84 | ||
|
|
75b7e8073a | ||
|
|
88a62af7c8 | ||
|
|
049c0f64ed | ||
|
|
efc695457f | ||
|
|
c73cde2e57 | ||
|
|
18e76984bb | ||
|
|
3f41de4fac | ||
|
|
b885021941 | ||
|
|
9bdff6a681 | ||
|
|
156c59e707 | ||
|
|
07ec930161 | ||
|
|
141a867dd3 | ||
|
|
2e3325df16 | ||
|
|
6715ce896c | ||
|
|
0ad9d3e1e5 | ||
|
|
46672dbf2b | ||
|
|
739af302d3 | ||
|
|
c11afa9383 | ||
|
|
78035e08b9 | ||
|
|
a2d8a1f1cf | ||
|
|
eb1c0fa6b9 | ||
|
|
cb71f30c29 | ||
|
|
a46b25bcc7 | ||
| 30e82929e9 | |||
| c4b147d02c | |||
| 47197cd819 | |||
| b5ba3c46dc | |||
| 80b39f8326 | |||
| 0b8b30a748 | |||
| 5044c7ac56 | |||
| 0dd0d61045 | |||
| 79f78bba25 | |||
| b744803e11 | |||
| 09d3ba2157 | |||
| b8364abb9c | |||
| e3255b9c09 | |||
| d4b45ff7d7 | |||
| 11a5cda785 | |||
| 204afc6c5f | |||
| 262ef56a8f | |||
| df7a2ba495 | |||
| ada7108fef | |||
| f58b26cd93 | |||
| 204af9c381 | |||
| cf55936a5a | |||
| 0920f096d9 | |||
| c4f32e3f4b | |||
| 8db121d08f | |||
| be5d1ed18c | |||
|
|
5d194fe628 | ||
|
|
9a0f34d08c | ||
|
|
c3077eeb7c | ||
| 5e59e2bb86 | |||
| 2e1651eaf4 | |||
| 9477273430 | |||
| d5e403d3de | |||
| 4e1719472b | |||
|
|
60d792cdb1 | ||
|
|
7c526d8b27 |
133
.gitea/workflows/release.yaml
Normal file
133
.gitea/workflows/release.yaml
Normal file
@@ -0,0 +1,133 @@
|
|||||||
|
name: Release Plugin
|
||||||
|
run-name: "Release | ${{ github.ref_name }}"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: alpine-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Notwendige Abhängigkeiten installieren
|
||||||
|
shell: sh
|
||||||
|
run: |
|
||||||
|
apk add --no-cache bash git jq curl
|
||||||
|
|
||||||
|
- name: Code holen
|
||||||
|
run: |
|
||||||
|
REPO_URL="https://${RELEASE_TOKEN}:x-oauth-basic@${{ vars.RELEASE_URL }}/${GITHUB_REPOSITORY}.git"
|
||||||
|
|
||||||
|
git clone "$REPO_URL" repo
|
||||||
|
cd repo
|
||||||
|
|
||||||
|
git checkout "$TAG"
|
||||||
|
env:
|
||||||
|
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
TAG: "${{ github.ref_name }}"
|
||||||
|
|
||||||
|
- name: Version und Kanal bestimmen
|
||||||
|
id: releaseinfo
|
||||||
|
run: |
|
||||||
|
TAG="${{ github.ref_name }}"
|
||||||
|
RAW_VERSION="${TAG#v}"
|
||||||
|
VERSION="${RAW_VERSION%%-*}"
|
||||||
|
|
||||||
|
# Channel und Suffix automatisch bestimmen anhand des Tag-Suffix
|
||||||
|
case "$RAW_VERSION" in
|
||||||
|
*-testing*|*-t|*-T)
|
||||||
|
CHANNEL="testing"
|
||||||
|
PRERELEASE="true"
|
||||||
|
SUFFIX="-testing"
|
||||||
|
;;
|
||||||
|
*-unstable*|*-u|*-U)
|
||||||
|
CHANNEL="unstable"
|
||||||
|
PRERELEASE="true"
|
||||||
|
SUFFIX="-unstable"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
CHANNEL="stable"
|
||||||
|
PRERELEASE="false"
|
||||||
|
SUFFIX=""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Output setzen
|
||||||
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
echo "channel=$CHANNEL" >> $GITHUB_OUTPUT
|
||||||
|
echo "prerelease=$PRERELEASE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
# Optional Debug
|
||||||
|
echo "VERSION=$VERSION"
|
||||||
|
echo "CHANNEL=$CHANNEL"
|
||||||
|
echo "PRERELEASE=$PRERELEASE"
|
||||||
|
|
||||||
|
# - name: plugin.cfg einlesen
|
||||||
|
# id: config
|
||||||
|
# run: |
|
||||||
|
# cd repo
|
||||||
|
# while read -r line || [ -n "$line" ]; do
|
||||||
|
# key="${line%%=*}"
|
||||||
|
# value="${line#*=}"
|
||||||
|
# echo "$key=$value" >> $GITHUB_OUTPUT
|
||||||
|
# done < plugin.cfg
|
||||||
|
|
||||||
|
- name: Payload erzeugen
|
||||||
|
id: payload
|
||||||
|
run: |
|
||||||
|
cd repo
|
||||||
|
|
||||||
|
NAME="${GITHUB_REPOSITORY##*/}"
|
||||||
|
GROUP="${GITHUB_REPOSITORY%%/*}"
|
||||||
|
VERSION="${{ steps.releaseinfo.outputs.version }}"
|
||||||
|
CHANNEL="${{ steps.releaseinfo.outputs.channel }}"
|
||||||
|
PRERELEASE="${{ steps.releaseinfo.outputs.prerelease }}"
|
||||||
|
ZIP_FOLDER="${{ vars.ZIP_FOLDER }}"
|
||||||
|
ZIP_FILE="${ZIP_FOLDER}.zip"
|
||||||
|
TAG="${{ github.ref_name }}"
|
||||||
|
#GIT_URL=${GITHUB_REPOSITORY}
|
||||||
|
|
||||||
|
jq -n \
|
||||||
|
--arg name "$NAME" \
|
||||||
|
--arg group "$GROUP" \
|
||||||
|
--arg version "$VERSION" \
|
||||||
|
--arg channel "$CHANNEL" \
|
||||||
|
--arg prerelease "$PRERELEASE" \
|
||||||
|
--arg zip_folder "$ZIP_FOLDER" \
|
||||||
|
--arg zip_file "$ZIP_FILE" \
|
||||||
|
--arg tag "$TAG" \
|
||||||
|
'{
|
||||||
|
name: $name,
|
||||||
|
group: $group,
|
||||||
|
version: $version,
|
||||||
|
channel: $channel,
|
||||||
|
prerelease: ($prerelease == "true"),
|
||||||
|
zip_folder: $zip_folder,
|
||||||
|
zip_file: $zip_file,
|
||||||
|
tag: $tag
|
||||||
|
}' > payload.json
|
||||||
|
|
||||||
|
cat payload.json
|
||||||
|
|
||||||
|
- name: Repository aktualisieren
|
||||||
|
run: |
|
||||||
|
NAME="${GITHUB_REPOSITORY##*/}"
|
||||||
|
TAG="${{ steps.releaseinfo.outputs.version }}"-"${{ steps.releaseinfo.outputs.channel }}"
|
||||||
|
PAYLOAD_B64=$(base64 -w0 repo/payload.json)
|
||||||
|
|
||||||
|
JSON="{\"ref\":\"hidden/workflows\",\"inputs\":{\"payload\":\"$PAYLOAD_B64\",\"name\":\"$NAME\",\"tag\":\"$TAG\"}}"
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d "$JSON" \
|
||||||
|
"https://${{ vars.RELEASE_URL }}/api/v1/repos/${OWNER}/Repository/actions/workflows/${WORKFLOW}/dispatches"
|
||||||
|
env:
|
||||||
|
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
OWNER: "AG_QGIS"
|
||||||
|
WORKFLOW: "release.yaml"
|
||||||
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -174,3 +174,4 @@ cython_debug/
|
|||||||
# PyPI configuration file
|
# PyPI configuration file
|
||||||
.pypirc
|
.pypirc
|
||||||
|
|
||||||
|
release.cmd
|
||||||
|
|||||||
18
changelog.txt
Normal file
18
changelog.txt
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
Version 1-testing:
|
||||||
|
- nach testing gemerged
|
||||||
|
---
|
||||||
|
Version 11-unstable:
|
||||||
|
- metadata.txt aktualisiert
|
||||||
|
---
|
||||||
|
Version 10-unstable:
|
||||||
|
- Änderung 5
|
||||||
|
- Änderung 6
|
||||||
|
---
|
||||||
|
Version 9-unstable:
|
||||||
|
- Änderung 3
|
||||||
|
- Änderung 4
|
||||||
|
---
|
||||||
|
Version 8-unstable:
|
||||||
|
- Änderung 1
|
||||||
|
- Änderung 2
|
||||||
33
metadata.txt
33
metadata.txt
@@ -1,21 +1,14 @@
|
|||||||
[general]
|
[general]
|
||||||
name=LNO Sachsen | Basisfunktionen
|
name=LNO Sachsen | Plugin Test Action
|
||||||
qgisMinimumVersion=3.0
|
qgisMinimumVersion=3.40
|
||||||
description=Dieses Plugin ist ein Test
|
qgisMaximumVersion=3.99
|
||||||
version=25.10.3
|
description=Test plugin for release pipeline
|
||||||
author=Michael Otto
|
version=1-testing
|
||||||
email=michael.otto@landkreis-mittelsachsen.de
|
author=Daniel Helbig, Michael Otto
|
||||||
|
email=daniel.helbig@kreis-meissen.de
|
||||||
about=Provide a brief description of the plugin and its purpose.
|
homepage=https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action
|
||||||
|
tracker=https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action/issues
|
||||||
hasProcessingProvider=no
|
repository=https://entwicklung.flurneuordnung-sachsen.de/AG_QGIS/Plugin_Test_Action/src/branch/testing/
|
||||||
tags=python
|
experimental=true
|
||||||
|
deprecated=false
|
||||||
category=Plugins
|
supportsQt6=true
|
||||||
icon=icon.png
|
|
||||||
experimental=True
|
|
||||||
|
|
||||||
deprecated=False
|
|
||||||
|
|
||||||
server=False
|
|
||||||
|
|
||||||
11
plugin.cfg
Normal file
11
plugin.cfg
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
name=LNO Sachsen | Plugin Test Action
|
||||||
|
description=Test plugin for release pipeline
|
||||||
|
author=Daniel Helbig
|
||||||
|
email=daniel.helbig@kreis-meissen.de
|
||||||
|
qgisMinimumVersion=3.0
|
||||||
|
qgisMaximumVersion=3.99
|
||||||
|
deprecated=False
|
||||||
|
experimental=True
|
||||||
|
supportsQt6=Yes
|
||||||
|
|
||||||
|
zip_folder=plugin_folder
|
||||||
Reference in New Issue
Block a user