Skip to content

Commit

Permalink
fix insert git hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Vulae committed May 8, 2024
1 parent 2da7136 commit 988bf32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v3

- name: Insert Git Hash
run: git rev-parse --short HEAD | tee -a src/gitinfo.ts <<< "export const HASH = '*'"
run: git rev-parse --short HEAD | awk '{printf("export const HASH = \'%s\'", $0)}' >> src/gitinfo.ts

- name: Use Node.js
uses: actions/setup-node@v3
Expand Down

0 comments on commit 988bf32

Please sign in to comment.