-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The need to pass a `BUILT_REPO` arg is very confusing and it is small enough to just DL the latest to a temp dir. This change also only uses the `BUILT_REPO` if there is no existing revision. If there is a revision it copies the `.cabal` file from there (in case it is not in the BUILT_REPO yet). Also uses `date -u` instead of `date --utc` so that we don't have to install `gdate` on macOS to make it work.
- Loading branch information
1 parent
a8c1882
commit a1e315a
Showing
3 changed files
with
11 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Use gnu-tar and gnu-date regardless of whether the OS is Linux | ||
# or BSD-based. The correct command will be assigned to TAR and DATE | ||
# variables. | ||
source "$(dirname "$(which "$0")")/use-gnu-tar.sh" | ||
|
||
"$DATE" --utc +%Y-%m-%dT%H:%M:%SZ | ||
date -u +%Y-%m-%dT%H:%M:%SZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters