Skip to content

Commit 5448754

Browse files
committed
Cleanup bad RC release
Signed-off-by: Jonathan Leitschuh <Jonathan.Leitschuh@gmail.com>
1 parent 80acbe6 commit 5448754

File tree

4 files changed

+5
-11
lines changed

4 files changed

+5
-11
lines changed

.github/actions/base-release/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 'Base Release Setup'
22
description: 'Setup environment for Release'
33
# This action is used to set up the environment for a release.
4-
# It is a reusable actions because it allows us to test the release process in the
4+
# It is a reusable action because it allows us to test the release process in the
55
# `build-and-check.yml` workflow.
66

77
runs:
@@ -11,8 +11,8 @@ runs:
1111
shell: bash
1212
# Workaround for https://github.com/actions/checkout/issues/1471
1313
# See: https://github.com/actions/checkout/issues/1471#issuecomment-1755560284
14-
run: git fetch --prune --unshallow --tags
15-
- name: set up JDK 8
14+
run: git fetch --prune --unshallow --tags --force
15+
- name: Set up JDK 8
1616
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
1717
with:
1818
java-version: 8

.github/workflows/trigger-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
README.md
4646
4747
- name: Perform Release Tagging and Push
48-
if: (!contains(github.ref, '-rc.'))
48+
if: (contains(github.ref, '-rc.'))
4949
# This will trigger the new release job that will take the tag and push the release to the plugin portal
5050
uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5.2.0
5151
with:

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
77

88
## [Unreleased]
99

10-
## [12.3.0-rc.2] - 2025-04-25
11-
12-
## [12.3.0-rc.1] - 2025-04-25
13-
14-
## [12.3.0-rc] - 2025-04-25
15-
1610
### Changed
1711

1812
- Updated build to use Gradle version 8.13 [#850](https://github.com/JLLeitschuh/ktlint-gradle/pull/850)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Provides a convenient wrapper plugin over the [ktlint](https://github.com/pinterest/ktlint) project.**
44

55
<!-- Note: if changing the line below, the `sed` command in the trigger-release.yaml needs to be updated too -->
6-
Latest plugin version: [12.3.0-rc.2](/CHANGELOG.md#---20250425)
6+
Latest plugin version: [12.2.0](/CHANGELOG.md#---20250425)
77

88
[![Join the chat at https://kotlinlang.slack.com](https://img.shields.io/badge/slack-@kotlinlang/ktlint-yellow.svg?logo=slack)](https://kotlinlang.slack.com/messages/CKS3XG0LS)
99
[![Build and Check](https://github.com/JLLeitschuh/ktlint-gradle/actions/workflows/build-and-check.yml/badge.svg)](https://github.com/JLLeitschuh/ktlint-gradle/actions/workflows/build-and-check.yml)

0 commit comments

Comments
 (0)