Skip to content

Commit

Permalink
Add .git-commit to archivebuild (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermckinnon authored Aug 31, 2023
1 parent da0c7f5 commit 7c168c0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
*version-info.json
.DS_Store
site/
.git-commit
1 change: 1 addition & 0 deletions ArchiveBuildConfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ dependencies:
- src: Makefile
- src: eks-worker-al2.json
- src: eks-worker-al2-variables.json
- src: .git-commit
archive:
name: amazon-eks-ami.tar.gz
type: tgz
6 changes: 6 additions & 0 deletions build-tools/bin/archivebuild-wrapper
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

# This file is for Amazon internal build processes

git rev-parse HEAD > .git-commit
archivebuild

0 comments on commit 7c168c0

Please sign in to comment.