forked from AG_QGIS/Plugin_Test_Action
Compare commits
3 Commits
v65
...
aecf203932
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aecf203932 | ||
|
|
3ee93bdc0d | ||
|
|
8ee99fa5da |
@@ -42,13 +42,27 @@ jobs:
|
|||||||
VERSION="${TAG#v}"
|
VERSION="${TAG#v}"
|
||||||
|
|
||||||
case "$TAG" in
|
case "$TAG" in
|
||||||
*-unstable*) CHANNEL="unstable" ;;
|
*-unstable*)
|
||||||
*-testing*) CHANNEL="testing" ;;
|
CHANNEL="unstable"
|
||||||
*) CHANNEL="stable" ;;
|
DRAFT="false"
|
||||||
|
PRERELEASE="true"
|
||||||
|
;;
|
||||||
|
*-testing*)
|
||||||
|
CHANNEL="testing"
|
||||||
|
DRAFT="true"
|
||||||
|
PRERELEASE="false"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
CHANNEL="stable"
|
||||||
|
DRAFT="false"
|
||||||
|
PRERELEASE="false"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
echo "version=${VERSION}" >> $GITHUB_OUTPUT
|
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||||
echo "channel=${CHANNEL}" >> $GITHUB_OUTPUT
|
echo "channel=$CHANNEL" >> $GITHUB_OUTPUT
|
||||||
|
echo "draft=$DRAFT" >> $GITHUB_OUTPUT
|
||||||
|
echo "prerelease=$PRERELEASE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: plugin.info einlesen
|
- name: plugin.info einlesen
|
||||||
id: info
|
id: info
|
||||||
@@ -150,7 +164,15 @@ jobs:
|
|||||||
--arg tag "$TAG" \
|
--arg tag "$TAG" \
|
||||||
--arg name "Version $VERSION" \
|
--arg name "Version $VERSION" \
|
||||||
--arg body "${{ steps.changelog.outputs.current }}" \
|
--arg body "${{ steps.changelog.outputs.current }}" \
|
||||||
'{tag_name: $tag, name: $name, body: $body, draft: false, prerelease: true}')
|
--argjson draft "${{ steps.releaseinfo.outputs.draft }}" \
|
||||||
|
--argjson prerelease "${{ steps.releaseinfo.outputs.prerelease }}" \
|
||||||
|
'{tag_name: $tag, name: $name, body: $body, draft: $draft, prerelease: $prerelease}')
|
||||||
|
|
||||||
|
# JSON=$(jq -n \
|
||||||
|
# --arg tag "$TAG" \
|
||||||
|
# --arg name "Version $VERSION" \
|
||||||
|
# --arg body "${{ steps.changelog.outputs.current }}" \
|
||||||
|
# '{tag_name: $tag, name: $name, body: $body, draft: false, prerelease: false}')
|
||||||
|
|
||||||
API_RESPONSE=$(curl -s -X POST "$API_URL" \
|
API_RESPONSE=$(curl -s -X POST "$API_URL" \
|
||||||
-H "accept: application/json" \
|
-H "accept: application/json" \
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
name=LNO Sachsen | Plugin Test Action
|
name=LNO Sachsen | Plugin Test Action
|
||||||
description=Test plugin for release pipeline
|
description=Test plugin for release pipeline
|
||||||
author=Daniel Helbig, Michael Otto
|
author=Daniel Helbig
|
||||||
email=daniel.helbig@kreis-meissen.de, michael.otto@landkreis-mittelsachsen.de
|
email=daniel.helbig@kreis-meissen.de
|
||||||
qgisMinimumVersion=3.0
|
qgisMinimumVersion=3.0
|
||||||
qgisMaximumVersion=3.99
|
qgisMaximumVersion=3.99
|
||||||
deprecated=False
|
deprecated=False
|
||||||
|
|||||||
Reference in New Issue
Block a user