Skip to content

Commit

Permalink
Don't include commit hash in generated artifact
Browse files Browse the repository at this point in the history
GH actions can't pick up glob paths easily.
  • Loading branch information
ToucheSir committed Sep 5, 2020
1 parent c87682e commit 142c457
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: annotator*.tar.gz
asset_path: annotator.tar.gz
asset_name: annotator.tar.gz
asset_content_type: application/gzip
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
all: backend frontend
tar -cvf annotator-`git rev-parse --short HEAD`.tar.gz build
tar -cvf annotator.tar.gz build

.PHONY: all backend frontend

Expand Down

0 comments on commit 142c457

Please sign in to comment.