mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 23:29:48 +01:00
quote hash for the GIT_COMMIT_HASH macro (#2227)
otherwise compilation fails with smth like ``` ../src/debug/../plugins/../defines.hpp:1:25: error: ‘f27873a6f06dc2f87600edb890f3c38298bfb55f’ was not declared in this scope ```
This commit is contained in:
parent
f27873a6f0
commit
da093a8aec
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
|||
- 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/defines.hpp
|
||||
sed -i "1s/^/#define GIT_COMMIT_HASH \"$(git rev-parse HEAD)\"\n#define GIT_TAG \"$(git describe --tags)\"\n/" ./src/defines.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
|
||||
|
|
Loading…
Reference in a new issue