Skip to content

Commit

Permalink
0.2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Oct 11, 2023
1 parent d33cd56 commit 1cd2618
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
submodules: recursive
- name: Install cargo-dist
run: "cargo install --git https://github.com/axodotdev/cargo-dist/ --branch=use-linkage-data cargo-dist"
run: "cargo install --git https://github.com/axodotdev/cargo-dist/ --branch=homebrew-better-formula-name cargo-dist"
- id: plan
run: |
cargo dist plan ${{ !github.event.pull_request && format('--tag={0}', github.ref_name) || '' }} --output-format=json > dist-manifest.json
Expand Down Expand Up @@ -92,7 +92,6 @@ jobs:
runs-on: ${{ matrix.runner }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: ${{ join(matrix.targets, '-') }}-dist-manifest.json
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -126,15 +125,11 @@ jobs:
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
- name: "Upload artifacts"
uses: actions/upload-artifact@v3
with:
name: artifacts
path: |
${{ steps.cargo-dist.outputs.paths }}
${{ env.BUILD_MANIFEST_NAME }}
path: ${{ steps.cargo-dist.outputs.paths }}

# Build and package all the platform-agnostic(ish) things
upload-global-artifacts:
Expand All @@ -147,7 +142,7 @@ jobs:
with:
submodules: recursive
- name: Install cargo-dist
run: "cargo install --git https://github.com/axodotdev/cargo-dist/ --branch=use-linkage-data cargo-dist"
run: "cargo install --git https://github.com/axodotdev/cargo-dist/ --branch=homebrew-better-formula-name cargo-dist"
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
- name: Fetch local artifacts
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -215,7 +210,7 @@ jobs:
done
git push
# Create a Github Release with all the results once everything is done,
# Create a Github Release with all the results once everything is done
publish-release:
needs: [plan, should-publish]
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "axolotlsay"
description = "💬 a CLI for learning to distribute CLIs in rust"
version = "0.2.16"
version = "0.2.17"
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mistydemeo/cargodisttest"
Expand All @@ -22,7 +22,7 @@ lto = "thin"
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.3.0-github-use-linkage-data"
cargo-dist-version = "0.3.0-github-homebrew-better-formula-name"
# CI backends to support
ci = ["github"]
# The installers to generate for each app
Expand Down

0 comments on commit 1cd2618

Please sign in to comment.