Skip to content

Commit

Permalink
Output COMMIT_SHA in build directory
Browse files Browse the repository at this point in the history
Alternative to parsing an arbitrary package's version number, or
its `build-info.json`.
  • Loading branch information
acdlite committed Feb 3, 2021
1 parent 3b439c1 commit 4783999
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ jobs:
at: build2
- run: yarn workspaces info | head -n -1 > workspace_info.txt
- *restore_node_modules
- run: echo "<< pipeline.git.revision >>" >> build2/COMMIT_SHA
# Compress build directory into a single tarball for easy download
- run: tar -zcvf ./build2.tgz ./build2
- store_artifacts:
Expand Down

0 comments on commit 4783999

Please sign in to comment.