mirror of
https://github.com/casey/just.git
synced 2024-11-25 15:34:13 +03:00
Use relative in .sha256sum
files (#2358)
This commit is contained in:
parent
90ae09bb84
commit
beef0e1a0f
@ -8,4 +8,5 @@ which rg
|
|||||||
--glob !bin/forbid \
|
--glob !bin/forbid \
|
||||||
--glob !CHANGELOG.md \
|
--glob !CHANGELOG.md \
|
||||||
--ignore-case \
|
--ignore-case \
|
||||||
'dbg!|fixme|todo|xxx'
|
'dbg!|fixme|todo|xxx' \
|
||||||
|
.
|
||||||
|
@ -42,15 +42,15 @@ cd $DIST
|
|||||||
echo "Creating release archive..."
|
echo "Creating release archive..."
|
||||||
case $OS in
|
case $OS in
|
||||||
ubuntu-latest | macos-latest)
|
ubuntu-latest | macos-latest)
|
||||||
ARCHIVE=$DIST/just-$VERSION-$TARGET.tar.gz
|
ARCHIVE=just-$VERSION-$TARGET.tar.gz
|
||||||
tar czf $ARCHIVE *
|
tar czf $ARCHIVE *
|
||||||
echo "archive=$ARCHIVE" >> $GITHUB_OUTPUT
|
|
||||||
shasum -a 256 $ARCHIVE > $ARCHIVE.sha256sum
|
shasum -a 256 $ARCHIVE > $ARCHIVE.sha256sum
|
||||||
|
echo "archive=$DIST/$ARCHIVE" >> $GITHUB_OUTPUT
|
||||||
;;
|
;;
|
||||||
windows-latest)
|
windows-latest)
|
||||||
ARCHIVE=$DIST/just-$VERSION-$TARGET.zip
|
ARCHIVE=just-$VERSION-$TARGET.zip
|
||||||
7z a $ARCHIVE *
|
7z a $ARCHIVE *
|
||||||
echo "archive=`pwd -W`/just-$VERSION-$TARGET.zip" >> $GITHUB_OUTPUT
|
|
||||||
sha256sum $ARCHIVE > $ARCHIVE.sha256sum
|
sha256sum $ARCHIVE > $ARCHIVE.sha256sum
|
||||||
|
echo "archive=`pwd -W`/$ARCHIVE" >> $GITHUB_OUTPUT
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
6
justfile
6
justfile
@ -232,6 +232,12 @@ test-bash-completions:
|
|||||||
echo 'bar:' > tmp/foo.just
|
echo 'bar:' > tmp/foo.just
|
||||||
cd tmp && PATH="`realpath bin`:$PATH" bash --init-file just.bash
|
cd tmp && PATH="`realpath bin`:$PATH" bash --init-file just.bash
|
||||||
|
|
||||||
|
test-release-workflow:
|
||||||
|
-git tag -d test-release
|
||||||
|
-git push origin :test-release
|
||||||
|
git tag test-release
|
||||||
|
git push origin test-release
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode: makefile
|
# mode: makefile
|
||||||
# End:
|
# End:
|
||||||
|
Loading…
Reference in New Issue
Block a user