Skip to content

Commit

Permalink
Release job mod (#1062)
Browse files Browse the repository at this point in the history
* Release job update

* Release notes for v2

* Upgrade dir from input

* Syntax fix
  • Loading branch information
ba1ciu authored Nov 21, 2023
1 parent 6e87b81 commit 74df5f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/chain_release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Create EmpowerChain release

on:
push:
tags:
- "v*" # Push events to matching v*
on:
workflow_dispatch:
inputs:
upgradeDir:
description: 'Upgrade directory name (e.g. v2)'
required: true

jobs:
release:
Expand All @@ -26,4 +28,4 @@ jobs:
- uses: "ncipollo/release-action@v1"
with:
artifacts: ./chain/build/*
bodyFile: "./chain/app/upgrades/$GITHUB_REF_NAME/RELEASE_NOTES.md"
bodyFile: "./chain/app/upgrades/${{ inputs.upgradeDir }}/RELEASE_NOTES.md"
5 changes: 5 additions & 0 deletions chain/app/upgrades/v2/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [2.0.0] - 2023-11-21

- CosmWasm version upgrade to v0.45.0
- Cosmos SDK version upgrade to v0.47.6
- IBC Go upgrade to v7.3.1

0 comments on commit 74df5f1

Please sign in to comment.