Skip to content

Commit

Permalink
Merge pull request #21 from forged-org/feature/release-pr-action
Browse files Browse the repository at this point in the history
Adding release PR action
  • Loading branch information
ryan-summers authored Feb 8, 2024
2 parents 8bb6b71 + 6a4eded commit 4f57b61
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/gen-release.yml
Original file line number Diff line number Diff line change
@@ -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 }}
15 changes: 15 additions & 0 deletions forged-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4f57b61

Please sign in to comment.