aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/release.yaml
diff options
context:
space:
mode:
authorsolopasha <[email protected]>2023-05-03 22:50:33 +0300
committerGitHub <[email protected]>2023-05-03 20:50:33 +0100
commitda093a8aec7d3e5030f7ef4b0813f1d8160f47f5 (patch)
tree7315203c347ae7d7ba057ffe72ec215203509360 /.github/workflows/release.yaml
parentf27873a6f06dc2f87600edb890f3c38298bfb55f (diff)
downloadHyprland-da093a8aec7d3e5030f7ef4b0813f1d8160f47f5.tar.gz
Hyprland-da093a8aec7d3e5030f7ef4b0813f1d8160f47f5.zip
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 ```
Diffstat (limited to '.github/workflows/release.yaml')
-rw-r--r--.github/workflows/release.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index a092d07c..bed49001 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -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