diff options
author | Mihai Fufezan <[email protected]> | 2023-10-10 22:53:23 +0300 |
---|---|---|
committer | Mihai Fufezan <[email protected]> | 2023-10-10 22:53:23 +0300 |
commit | a0038fa161f48f779c38e297bb71335040375b9f (patch) | |
tree | e6b2c1a1a6cc306863862f54ff75ca442ebe918b /.github | |
parent | 914851b91aeb450592e2d62749169298ac48fb0c (diff) | |
download | Hyprland-a0038fa161f48f779c38e297bb71335040375b9f.tar.gz Hyprland-a0038fa161f48f779c38e297bb71335040375b9f.zip |
CI/release: update version generation
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yaml | 7 |
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 |