Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: tagged the wrong branch (backport #18407) #18408

Merged
merged 2 commits into from
Nov 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
96 changes: 48 additions & 48 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
name: Release
# This workflow helps with creating releases.
# This job will only be triggered when a tag (vX.X.x) is pushed
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10
# name: Release
# # This workflow helps with creating releases.
# # This job will only be triggered when a tag (vX.X.x) is pushed
# on:
# push:
# # Sequence of patterns matched against refs/tags
# # tags:
# # - "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v1.0, v20.15.10

permissions:
contents: read
# permissions:
# contents: read

jobs:
release:
permissions:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
check-latest: true
- name: Unshallow
run: git fetch --prune --unshallow
- name: Create release
uses: goreleaser/goreleaser-action@v3
with:
args: release --rm-dist --release-notes ./RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# jobs:
# release:
# permissions:
# contents: write # for goreleaser/goreleaser-action to create a GitHub release
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Install Go
# uses: actions/setup-go@v4
# with:
# go-version: "1.21"
# check-latest: true
# - name: Unshallow
# run: git fetch --prune --unshallow
# - name: Create release
# uses: goreleaser/goreleaser-action@v3
# with:
# args: release --rm-dist --release-notes ./RELEASE_NOTES.md
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

release-success:
needs: release
if: ${{ success() }}
runs-on: ubuntu-latest
steps:
- name: Notify Slack on success
uses: rtCamp/[email protected].0
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cosmos-tech
SLACK_USERNAME: Cosmos SDK Release Bot
SLACK_ICON: https://avatars.githubusercontent.com/t/5997665?size=64
SLACK_COLOR: good
SLACK_TITLE: "Cosmos SDK ${{ github.ref_name }} is tagged :tada:"
SLACK_MESSAGE: "@channel :point_right: https://github.com/cosmos/cosmos-sdk/releases/tag/${{ github.ref_name }}"
SLACK_FOOTER: ""
SLACK_LINK_NAMES: true
MSG_MINIMAL: true
# release-success:
# needs: release
# if: ${{ success() }}
# runs-on: ubuntu-latest
# steps:
# - name: Notify Slack on success
# uses: rtCamp/[email protected].1
# env:
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# SLACK_CHANNEL: cosmos-tech
# SLACK_USERNAME: Cosmos SDK Release Bot
# SLACK_ICON: https://avatars.githubusercontent.com/t/5997665?size=64
# SLACK_COLOR: good
# SLACK_TITLE: "Cosmos SDK ${{ github.ref_name }} is tagged :tada:"
# SLACK_MESSAGE: "@channel :point_right: https://github.com/cosmos/cosmos-sdk/releases/tag/${{ github.ref_name }}"
# SLACK_FOOTER: ""
# SLACK_LINK_NAMES: true
# MSG_MINIMAL: true
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ Ref: https://keepachangelog.com/en/1.0.0/

## [Unreleased]

## [v0.50.0](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.0) - 2023-11-07
## [v0.50.1](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.50.1) - 2023-11-07

> v0.50.0 has been retracted due to a mistake in tagging the release. Please use v0.50.1 instead.

### Features

Expand Down
6 changes: 3 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Cosmos SDK v0.50.0 Release Notes
# Cosmos SDK v0.50.1 Release Notes

✨ [**Official Release Announcenment**](https://blog.cosmos.network)
✨ [**Official Release Announcement**](https://blog.cosmos.network)

💬 [**Release Discussion**](https://github.com/cosmos/community)
💬 [**Release Discussion**](https://github.com/orgs/cosmos/discussions/58)

## 🚀 Highlights

Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ replace (
)

retract (
// false start by tagging the wrong branch
v0.50.0
// revert fix https://github.com/cosmos/cosmos-sdk/pull/16331
v0.46.12
// subject to a bug in the group module and gov module migration
Expand Down