Browse Source

Merge #859

859: Introduce a changelog r=thomaseizinger a=thomaseizinger

Now that we have a mainnet release, best to start tracking changes!

Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
resilient-broadcast
bors[bot] 3 years ago
committed by GitHub
parent
commit
de36ff6902
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      .github/workflows/draft-new-release.yml
  2. 15
      CHANGELOG.md

12
.github/workflows/draft-new-release.yml

@ -38,10 +38,18 @@ jobs:
- name: Update Cargo.lock
run: cargo update --workspace
- name: Update changelog
uses: thomaseizinger/keep-a-changelog-new-release@v1
with:
version: ${{ github.event.inputs.version }}
- name: Commit changelog and manifest files
id: make-commit
run: |
git add Cargo.lock daemon/Cargo.toml
curl -fsSL https://dprint.dev/install.sh | sh
/home/runner/.dprint/bin/dprint fmt
git add Cargo.lock daemon/Cargo.toml CHANGELOG.md
git commit --message "Prepare release ${{ github.event.inputs.version }}"
echo "::set-output name=commit::$(git rev-parse HEAD)"
@ -55,7 +63,7 @@ jobs:
Hi @${{ github.actor }}!
This PR was created in response to a manual trigger of the release workflow here: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}.
I've bumped the versions in the manifest files in this commit: ${{ steps.make-commit.outputs.commit }}.
Merging this PR will create a GitHub release and publish the library to crates.io!
Merging this PR will create a GitHub release!
EOF
)
gh pr create \

15
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]
## [0.3.0] - 2021-12-09
Initial release for mainnet.
[Unreleased]: https://github.com/itchysats/itchysats/compare/0.3.0...HEAD
[0.3.0]: https://github.com/itchysats/itchysats/compare/d12e04d4954deb2ee9ebdc9...0.3.0
Loading…
Cancel
Save