diff --git a/bin/forbid b/bin/forbid index 6be43d2db4..538c780c0d 100755 --- a/bin/forbid +++ b/bin/forbid @@ -8,4 +8,5 @@ which rg --glob !bin/forbid \ --glob !CHANGELOG.md \ --ignore-case \ - 'dbg!|fixme|todo|xxx' + 'dbg!|fixme|todo|xxx' \ + . diff --git a/bin/package b/bin/package index 32ea2a8b3f..8372325287 100755 --- a/bin/package +++ b/bin/package @@ -42,15 +42,15 @@ cd $DIST echo "Creating release archive..." case $OS in ubuntu-latest | macos-latest) - ARCHIVE=$DIST/just-$VERSION-$TARGET.tar.gz + ARCHIVE=just-$VERSION-$TARGET.tar.gz tar czf $ARCHIVE * - echo "archive=$ARCHIVE" >> $GITHUB_OUTPUT shasum -a 256 $ARCHIVE > $ARCHIVE.sha256sum + echo "archive=$DIST/$ARCHIVE" >> $GITHUB_OUTPUT ;; windows-latest) - ARCHIVE=$DIST/just-$VERSION-$TARGET.zip + ARCHIVE=just-$VERSION-$TARGET.zip 7z a $ARCHIVE * - echo "archive=`pwd -W`/just-$VERSION-$TARGET.zip" >> $GITHUB_OUTPUT sha256sum $ARCHIVE > $ARCHIVE.sha256sum + echo "archive=`pwd -W`/$ARCHIVE" >> $GITHUB_OUTPUT ;; esac diff --git a/justfile b/justfile index be1ea88af1..9681aecd7d 100755 --- a/justfile +++ b/justfile @@ -232,6 +232,12 @@ test-bash-completions: echo 'bar:' > tmp/foo.just 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: # mode: makefile # End: