Add COMMIT_SHA to build directory

This commit is contained in:
Andrew Clark 2021-09-21 13:41:58 -04:00
parent 0c81d347b6
commit e3c9cd9f41
No known key found for this signature in database
GPG Key ID: 542E2C5D4AD706D4
1 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,7 @@ jobs:
- run: yarn workspaces info | head -n -1 > workspace_info.txt
- *restore_node_modules
- run: echo "<< pipeline.git.revision >>" >> build2/COMMIT_SHA
- run: echo "<< pipeline.git.revision >>" >> build/COMMIT_SHA
# Compress build directory into a single tarball for easy download
- run: tar -zcvf ./build2.tgz ./build2
# TODO: Migrate scripts to use `build` directory instead of `build2`
@ -209,6 +210,7 @@ jobs:
- attach_workspace:
at: .
- run: echo "<< pipeline.git.revision >>" >> build2/COMMIT_SHA
- run: echo "<< pipeline.git.revision >>" >> build/COMMIT_SHA
- run: yarn workspaces info | head -n -1 > workspace_info.txt
- *restore_node_modules
- run: