Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/scripts/build-archive-macos.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Build archive directory, copy contents and create archive

set -e
set -u
set -o pipefail

mkdir -p "$ARCHIVE"
cp "$BIN" "$ARCHIVE"/
cp {CHANGELOG.md,README.md,COPYING} "$ARCHIVE"/
cp -r ./readme/ "$ARCHIVE/readme"

7z a "$ARCHIVE.zip" "$ARCHIVE"
echo "ASSET=$ARCHIVE.zip" >> "$GITHUB_ENV"
15 changes: 15 additions & 0 deletions .github/scripts/build-archive-unix.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Build archive directory, copy contents and create archive

set -e
set -u
set -o pipefail

mkdir -p "$ARCHIVE"
cp "$BIN" "$ARCHIVE"/
cp {CHANGELOG.md,README.md,COPYING,src/interactive-rebase-tool.1} "$ARCHIVE"/
cp -r readme/ "$ARCHIVE"

tar czf "$ARCHIVE.tar.gz" "$ARCHIVE"
echo "ASSET=$ARCHIVE.tar.gz" >> "$GITHUB_ENV"
15 changes: 15 additions & 0 deletions .github/scripts/build-archive-windows.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env bash

# Build archive directory, copy contents and create archive

set -e
set -u
set -o pipefail

mkdir -p "$ARCHIVE"
cp "$BIN.exe" "$ARCHIVE"/
cp {CHANGELOG.md,README.md,COPYING} "$ARCHIVE"/
cp -r readme/ "$ARCHIVE"

7z a "$ARCHIVE.zip" "$ARCHIVE"
echo "ASSET=$ARCHIVE.zip" >> "$GITHUB_ENV"
17 changes: 17 additions & 0 deletions .github/scripts/cross-install.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

# Install Cross using the pre-compiled binaries to speed up release/build time

set -e
set -u
set -o pipefail


CROSS_VERSION="v0.2.5"

cross_download_dir="$RUNNER_TEMP/cross-download"
mkdir "$cross_download_dir"
echo "$cross_download_dir" >> "$GITHUB_PATH"
cd "$cross_download_dir"
curl -LO "https://github.com/cross-rs/cross/releases/download/$CROSS_VERSION/cross-x86_64-unknown-linux-musl.tar.gz"
tar xf "cross-x86_64-unknown-linux-musl.tar.gz"
5 changes: 5 additions & 0 deletions .github/scripts/ubuntu-packages-install.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

set -e
set -u
set -o pipefail
22 changes: 0 additions & 22 deletions .github/scripts/update-tag.bash

This file was deleted.

217 changes: 0 additions & 217 deletions .github/workflows/release-latest.yml

This file was deleted.

Loading
Loading