-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into jm@add-bluetooth
- Loading branch information
Showing
3 changed files
with
40 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#! /usr/bin/env nix-shell | ||
#! nix-shell -i bash -p gitAndTools.hub coreutils | ||
|
||
root="$(cd "$(dirname "${BASH_SOURCE[0]}")" && git rev-parse --show-toplevel)" | ||
|
||
nano_s_tarball=$("$root/nix/build.sh" -A "nano.s.release.all" "$@") | ||
nano_x_tarball=$("$root/nix/build.sh" -A "nano.x.release.all" "$@") | ||
|
||
cp -f $nano_s_tarball nano-s-release.tar.gz | ||
cp -f $nano_x_tarball nano-x-release.tar.gz | ||
|
||
# hub release create \ | ||
# -a $nano_s_tarball'#'nano-s-release.tar.gz \ | ||
# -a $nano_x_tarball'#'nano-x-release.tar.gz \ | ||
# -F - | ||
|
||
echo '## Checksums' | ||
echo '### nano-s-release.tar.gz' | ||
echo 'Type | Value' | ||
echo '-- | --' | ||
echo "MD5 | $(md5sum nano-s-release.tar.gz | cut -f1 -d' ')" | ||
echo "SHA256 | $(sha256sum nano-s-release.tar.gz | cut -f1 -d' ')" | ||
echo "SHA512 | $(sha512sum nano-s-release.tar.gz | cut -f1 -d' ')" | ||
|
||
echo '### nano-x-release.tar.gz' | ||
echo 'Type | Value' | ||
echo '-- | --' | ||
echo "MD5 | $(md5sum nano-x-release.tar.gz | cut -f1 -d' ')" | ||
echo "SHA256 | $(sha256sum nano-x-release.tar.gz | cut -f1 -d' ')" | ||
echo "SHA512 | $(sha512sum nano-x-release.tar.gz | cut -f1 -d' ')" |
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