diff --git a/.github/workflows/gen-release.yml b/.github/workflows/gen-release.yml new file mode 100644 index 0000000..bc533c5 --- /dev/null +++ b/.github/workflows/gen-release.yml @@ -0,0 +1,36 @@ +name: Open a release PR +on: + workflow_dispatch: + inputs: + crate: + description: Crate to release + required: true + type: choice + options: + - forged-rs + - forged-cli + version: + description: Version to release + required: true + type: string + +jobs: + make-release-pr: + permissions: + id-token: write # Enable OIDC + pull-requests: write + contents: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: chainguard-dev/actions/setup-gitsign@main + - name: Install cargo-release + uses: taiki-e/install-action@v1 + with: + tool: cargo-release + + - uses: cargo-bins/release-pr@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + version: ${{ inputs.version }} + crate-name: ${{ inputs.crate }} diff --git a/forged-cli/CHANGELOG.md b/forged-cli/CHANGELOG.md new file mode 100644 index 0000000..d5dcdbc --- /dev/null +++ b/forged-cli/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## Unreleased + +### Added +* `forged-cli download` can now be used to program a device without an active run. + * You can optionally specify which chip to flash and which firmware to flash as well. + +### Changed +* [update] The CLI has been updated to utilize the newer GraphQL API