mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-12-02 05:55:09 +03:00
CI/release: update version generation
This commit is contained in:
parent
914851b91a
commit
a0038fa161
7
.github/workflows/release.yaml
vendored
7
.github/workflows/release.yaml
vendored
@ -15,10 +15,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
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
|
- name: Create tarball with submodules
|
||||||
id: tar
|
id: tar
|
||||||
run: |
|
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 *
|
mkdir hyprland-source; mv ./* ./hyprland-source || tar -czv --owner=0 --group=0 --no-same-owner --no-same-permissions -f source.tar.gz *
|
||||||
|
|
||||||
- id: whatrelease
|
- id: whatrelease
|
||||||
|
Loading…
Reference in New Issue
Block a user