Skip to content

Commit

Permalink
Release 1.1.0 (#17)
Browse files Browse the repository at this point in the history
* chore: add updated deps and year bump

* chore: prepare release 1.1.0
  • Loading branch information
h4sh3d committed May 27, 2022
1 parent db4b8d9 commit f23cc6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.1.0] - 2022-05-27

### Added

- New input `build` for `draft-new-release.yml` to build the crate before add & commit the files, allows lockfile update
- New input `check_publish` for `draft-new-release.yml` to dry run the cargo publish before add & commit the files, allows to not open a PR on unpublishable state.

### Changed

- Update `actions/checkout@v3`, `actions/download-artifact@v3`, `thomaseizinger/create-pull-request@1.2.2`, `EndBug/add-and-commit@v9.0.0`, `softprops/action-gh-release@v1`
- Bump header's year to 2022

## [1.0.2] - 2021-11-01

### Added
Expand Down Expand Up @@ -41,7 +48,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Draft new release` shared workflow
- `Release to crates.io` shared workflow

[Unreleased]: https://github.com/farcaster-project/workflows/compare/v1.0.2...HEAD
[Unreleased]: https://github.com/farcaster-project/workflows/compare/v1.1.0...HEAD
[1.1.0]: https://github.com/farcaster-project/workflows/compare/v1.0.2...v1.1.0
[1.0.2]: https://github.com/farcaster-project/workflows/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/farcaster-project/workflows/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/farcaster-project/workflows/compare/0c88c46cfe1d25098ec47216e4b2dfc8bf871338...v1.0.0
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Workflow version](https://img.shields.io/badge/Workflow%20version-@v1.0.2-blue)](https://github.com/farcaster-project/workflows/releases/tag/v1.0.2)
[![Workflow version](https://img.shields.io/badge/Workflow%20version-@v1.1.0-blue)](https://github.com/farcaster-project/workflows/releases/tag/v1.1.0)
[![License: MIT or Apache](https://img.shields.io/badge/License-MIT%20or%20Apache%202.0-yellow.svg)](./COPYRIGHT)

# Shared Workflows
Expand Down Expand Up @@ -34,7 +34,7 @@ on:
jobs:
draft-new-release:
name: "Draft a new release"
uses: farcaster-project/workflows/.github/workflows/draft-new-release.yml@v1.0.2
uses: farcaster-project/workflows/.github/workflows/draft-new-release.yml@v1.1.0
with:
version: ${{ github.event.inputs.version }}
build: false
Expand All @@ -61,7 +61,7 @@ jobs:
create_release:
name: Create from merged release branch
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
uses: farcaster-project/workflows/.github/workflows/create-release.yml@v1.0.2
uses: farcaster-project/workflows/.github/workflows/create-release.yml@v1.1.0
```

If you want to attached files to the release you can declare a `create_release` job with:
Expand All @@ -87,7 +87,7 @@ jobs:
create_release:
name: Create from merged release branch
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/')
uses: farcaster-project/workflows/.github/workflows/create-release.yml@v1.0.2
uses: farcaster-project/workflows/.github/workflows/create-release.yml@v1.1.0
needs: produce_binaries
with:
artifact_name: release-folder
Expand All @@ -101,7 +101,7 @@ You can add another job after `create_release`, e.g. `release_to_crates`, trigge
```yaml
release_to_crates:
name: Release to crates.io
uses: farcaster-project/workflows/.github/workflows/release-to-crates-io.yml@v1.0.2
uses: farcaster-project/workflows/.github/workflows/release-to-crates-io.yml@v1.1.0
needs: create_release
secrets:
cratesio_token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Expand All @@ -123,7 +123,7 @@ on:
jobs:
release:
name: "Publish the new release to crates.io"
uses: farcaster-project/workflows/.github/workflows/release-to-crates-io.yml@v1.0.2
uses: farcaster-project/workflows/.github/workflows/release-to-crates-io.yml@v1.1.0
secrets:
cratesio_token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
```
Expand Down

0 comments on commit f23cc6c

Please sign in to comment.