summaryrefslogtreecommitdiffstats
path: root/extensions/47/hibernate-status/.github
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-16 17:26:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-16 17:31:57 +0000
commit0a7a4c5b38489621bf99415cdfba0e2538da3a49 (patch)
treeb19fdd525465f01902a183f91492e284a665246c /extensions/47/hibernate-status/.github
parentReleasing debian version 20240414-2. (diff)
downloadgnome-shell-extensions-extra-0a7a4c5b38489621bf99415cdfba0e2538da3a49.tar.xz
gnome-shell-extensions-extra-0a7a4c5b38489621bf99415cdfba0e2538da3a49.zip
Merging upstream version 20240916 (Closes: #1079257).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/47/hibernate-status/.github')
-rw-r--r--extensions/47/hibernate-status/.github/workflows/release.yaml32
1 files changed, 32 insertions, 0 deletions
diff --git a/extensions/47/hibernate-status/.github/workflows/release.yaml b/extensions/47/hibernate-status/.github/workflows/release.yaml
new file mode 100644
index 0000000..80138f9
--- /dev/null
+++ b/extensions/47/hibernate-status/.github/workflows/release.yaml
@@ -0,0 +1,32 @@
+name: "Prepare GitHub release"
+
+on:
+ push:
+
+jobs:
+ zip:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ - name: zip
+ run: |
+ sudo apt-get install make gettext
+ make zip-file
+ - name: Upload artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: zip
+ path: "*.zip"
+ - name: Release (pre)
+ uses: softprops/action-gh-release@v1
+ with:
+ files: "*.zip"
+ prerelease: true
+ if: contains(github.ref_name,'rc') && github.ref_type == 'tag'
+ - name: Release
+ uses: softprops/action-gh-release@v1
+ with:
+ files: "*.zip"
+ if: "!contains(github.ref_name,'rc') && github.ref_type == 'tag'"