|
@@ -109,6 +109,10 @@ all-release: build-release test-release
|
|
|
sleep 10
|
|
sleep 10
|
|
|
gh pr create --draft --title "chore: release $(grep '^version' Cargo.toml | head -n 1 | grep -E '([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?' -o)" --body "This PR was auto-generated by our lovely just file" --reviewer cafkafk
|
|
gh pr create --draft --title "chore: release $(grep '^version' Cargo.toml | head -n 1 | grep -E '([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?' -o)" --body "This PR was auto-generated by our lovely just file" --reviewer cafkafk
|
|
|
|
|
|
|
|
|
|
+#----------------#
|
|
|
|
|
+# binaries #
|
|
|
|
|
+#----------------#
|
|
|
|
|
+
|
|
|
tar BINARY TARGET:
|
|
tar BINARY TARGET:
|
|
|
tar czvf ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}.tar.gz -C ./target/{{TARGET}}/release/ ./{{BINARY}}
|
|
tar czvf ./target/"bin-$(convco version)"/{{BINARY}}_{{TARGET}}.tar.gz -C ./target/{{TARGET}}/release/ ./{{BINARY}}
|
|
|
|
|
|
|
@@ -121,10 +125,20 @@ binary BINARY TARGET:
|
|
|
just tar {{BINARY}} {{TARGET}}
|
|
just tar {{BINARY}} {{TARGET}}
|
|
|
just zip {{BINARY}} {{TARGET}}
|
|
just zip {{BINARY}} {{TARGET}}
|
|
|
|
|
|
|
|
|
|
+checksum:
|
|
|
|
|
+ echo "# Checksums"
|
|
|
|
|
+ echo "## sha256sum"
|
|
|
|
|
+ echo '```'
|
|
|
|
|
+ sha256sum ./target/"bin-$(convco version)"/*
|
|
|
|
|
+ echo '```'
|
|
|
|
|
+ echo "## md5sum"
|
|
|
|
|
+ echo '```'
|
|
|
|
|
+ md5sum ./target/"bin-$(convco version)"/*
|
|
|
|
|
+ echo '```'
|
|
|
|
|
+
|
|
|
alias c := cross
|
|
alias c := cross
|
|
|
|
|
|
|
|
-# If you're not cafkafk and she isn't dead, you probably don't need to run
|
|
|
|
|
-# this!
|
|
|
|
|
|
|
+# Generate release binaries for EZA
|
|
|
#
|
|
#
|
|
|
# usage: cross
|
|
# usage: cross
|
|
|
@cross:
|
|
@cross:
|
|
@@ -148,18 +162,10 @@ alias c := cross
|
|
|
## Windows
|
|
## Windows
|
|
|
### x86
|
|
### x86
|
|
|
just binary eza.exe x86_64-pc-windows-gnu
|
|
just binary eza.exe x86_64-pc-windows-gnu
|
|
|
- just binary eza.exe x86_64-pc-windows-msvc
|
|
|
|
|
|
|
+ -just binary eza.exe x86_64-pc-windows-msvc
|
|
|
|
|
|
|
|
# Generate Checksums
|
|
# Generate Checksums
|
|
|
- echo "# Checksums"
|
|
|
|
|
- echo "## sha256sum"
|
|
|
|
|
- echo '```'
|
|
|
|
|
- sha256sum ./target/"bin-$(convco version)"/*
|
|
|
|
|
- echo '```'
|
|
|
|
|
- echo "## md5sum"
|
|
|
|
|
- echo '```'
|
|
|
|
|
- md5sum ./target/"bin-$(convco version)"/*
|
|
|
|
|
- echo '```'
|
|
|
|
|
|
|
+ just checksum
|
|
|
|
|
|
|
|
#---------------------#
|
|
#---------------------#
|
|
|
# Integration testing #
|
|
# Integration testing #
|