Skip to content

Commit

Permalink
ci: persist Makefile to publish stage
Browse files Browse the repository at this point in the history
To publish in a different stage, we need the Makefile to exist.
Rather than checkout (since we're mounting the workspace) just
persist it from the `build` step.
  • Loading branch information
darinspivey committed Apr 20, 2021
1 parent a3516fd commit c048c2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
root: .
paths:
- ./image.tar
- ./Makefile
release:
docker:
- image: circleci/golang:1.12
Expand Down Expand Up @@ -77,7 +78,6 @@ jobs:
steps:
- attach_workspace:
at: .
- checkout
- run: make publish
workflows:
update:
Expand Down
Binary file added image.tar
Binary file not shown.

2 comments on commit c048c2d

@cederberg
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @darinspivey, it look like a mistake that image.tar got committed here...

@darinspivey
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @darinspivey, it look like a mistake that image.tar got committed here...

Thank you for all of your contributions on this, @cederberg . Yep, this was accidentally committed after testing locally. I'll fix it with a proper patch.

Please sign in to comment.