Skip to content

Commit

Permalink
✨ feature: 0.0.1!
Browse files Browse the repository at this point in the history
  • Loading branch information
queer committed Apr 10, 2023
1 parent b07cf6f commit 80447aa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/auto-compress-functionality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
override: true
target: "x86_64-unknown-linux-musl"
- uses: "Swatinem/rust-cache@v2"
if: "always()"
with:
key: "cli-functionality"
cache-on-failure: true
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cli-functionality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
profile: "minimal"
target: "x86_64-unknown-linux-musl"
- uses: "Swatinem/rust-cache@v2"
if: "always()"
with:
key: "cli-functionality"
cache-on-failure: true
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ jobs:
toolchain: "stable"
profile: "minimal"
target: "x86_64-unknown-linux-musl"
- uses: "Swatinem/rust-cache@v2"
with:
key: "release"
cache-on-failure: true
- name: "Install musl-tools"
run: "sudo apt-get update && sudo apt-get install -y musl-tools"
- name: "Build static-linked release binary!"
uses: "actions-rs/cargo@v1"
with:
command: "build"
args: "--release --target=x86_64-unknown-linux-musl"
- name: "Package peckish!!"
run: "./target/x86_64-unknown-linux-musl/release/peckish -c ./peckish.release.yaml -r report.txt"
- name: "Make GH aware of release artifacts"
id: "release-artifacts"
run: 'echo "artifacts=$(cat report.txt)" >> $GITHUB_OUTPUT'
- name: "Generate changelog"
uses: "metcalfc/[email protected]"
with:
myToken: "${{ secrets.GITHUB_TOKEN }}"
- name: "Create release"
uses: "softprops/action-gh-release@v1"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
body: "${{ steps.changelog.outputs.changelog }}"
files: "${{ steps.release-artifacts.outputs.artifacts }}"
- name: "Upload release assets with gh cli"
run: "cat report.txt | xargs -I {} gh release upload ${{ github.ref_name }} {}"
env:
GH_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "peckish"
version = "0.0.1"
description = "Create and manipulate Linux package formats!"
description = "Create, manipulate, and transform Linux package formats!"
license = "Apache-2.0"
edition = "2021"
readme = "README.md"
Expand Down

0 comments on commit 80447aa

Please sign in to comment.