aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2023-10-10 22:53:23 +0300
committerMihai Fufezan <[email protected]>2023-10-10 22:53:23 +0300
commita0038fa161f48f779c38e297bb71335040375b9f (patch)
treee6b2c1a1a6cc306863862f54ff75ca442ebe918b /.github
parent914851b91aeb450592e2d62749169298ac48fb0c (diff)
downloadHyprland-a0038fa161f48f779c38e297bb71335040375b9f.tar.gz
Hyprland-a0038fa161f48f779c38e297bb71335040375b9f.zip
CI/release: update version generation
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yaml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 2c1517c1..cbf99a02 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -15,10 +15,15 @@ jobs:
with:
submodules: recursive
+ - name: Generate version
+ id: genversion
+ run: |
+ bash -c scripts/generateVersion.sh
+ mv scripts/generateVersion.sh scripts/generateVersion.sh.bak
+
- name: Create tarball with submodules
id: tar
run: |
- sed -i "1s/^/#define GIT_COMMIT_HASH \"$(git rev-parse HEAD)\"\n#define GIT_TAG \"$(git describe --tags)\"\n/" ./src/macros.hpp
mkdir hyprland-source; mv ./* ./hyprland-source || tar -czv --owner=0 --group=0 --no-same-owner --no-same-permissions -f source.tar.gz *
- id: whatrelease