Skip to content

Commit

Permalink
pre-release 0.0.1-rc
Browse files Browse the repository at this point in the history
Signed-off-by: Artyom Shendrik <[email protected]>
  • Loading branch information
amal committed May 25, 2023
1 parent b725ab5 commit 726077c
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 7 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: release

on:
push:
tags:
- "v*"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@f70248679df316796ffb7123cb0b916bd98cde22
with:
disable-sudo: true
egress-policy: audit

- name: Checkout
uses: actions/checkout@v3

- name: Print Release Version
run: |
if echo "$GITHUB_REF_NAME" | grep "beta|alpha|rc|RC" > /dev/null ; then
echo "Pre release!"
echo "RELEASE_PRE=true" >> $GITHUB_ENV
echo "RELEASE_SUFFIX= (pre release)" >> $GITHUB_ENV
else
echo "Normal release!"
echo "RELEASE_PRE=false" >> $GITHUB_ENV
echo "RELEASE_SUFFIX=" >> $GITHUB_ENV
fi
- name: Release
uses: docker://antonyurchenko/git-release:latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRAFT_RELEASE: "true"
PRE_RELEASE: "${{ env.RELEASE_PRE }}"
RELEASE_NAME_SUFFIX: "${{ env.RELEASE_SUFFIX }}"
CHANGELOG_FILE: "CHANGELOG.md"
ALLOW_EMPTY_CHANGELOG: "false"
20 changes: 16 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
# Changelog
# Changelog [^1]

## Pending changes

- Initial release
## Unreleased

<div style="text-align: center"><small>..date..</small></div>
- ...


## [0.0.1-rc] - 2023-05-25

🌱 _Initial `fluxo-bcv-js` pre-release in the [Gradle Plugin Portal](https://plugins.gradle.org/plugin/io.github.fluxo-kt.binary-compatibility-validator-js)._

[0.0.1-rc]: https://github.com/Level/level/releases/tag/v0.0.1-rc


## Notes

[^1]: Uses [Common Changelog style](https://common-changelog.org/) [^2]
[^2]: https://github.com/vweevers/common-changelog#readme
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
[![Gradle Plugin Portal][badge-plugin]][plugin]
[![JitPack][badge-jitpack]][jitpack]
[![Build](../../actions/workflows/build.yml/badge.svg)](../../actions/workflows/build.yml)
[![Common Changelog](https://common-changelog.org/badge.svg)](CHANGELOG.md)

[![KotlinX BCV Compatibility](http://img.shields.io/badge/KotlinX%20BCV-0.12%20--%200.13-7F52FF?logo=kotlin&logoWidth=10&logoColor=7F52FF&labelColor=2B2B2B)][bcv]
[![Kotlin Compatibility](http://img.shields.io/badge/Kotlin-1.4+-7F52FF?logo=kotlin&logoWidth=10&logoColor=7F52FF&labelColor=2B2B2B)](https://github.com/JetBrains/Kotlin)
[![KotlinX BCV Compatibility](http://img.shields.io/badge/KotlinX%20BCV-0.8%20--%200.13-7F52FF?logo=kotlin&logoWidth=10&logoColor=7F52FF&labelColor=2B2B2B)][bcv]
[![Kotlin Compatibility](http://img.shields.io/badge/Kotlin-1.6.20+-7F52FF?logo=kotlin&logoWidth=10&logoColor=7F52FF&labelColor=2B2B2B)](https://github.com/JetBrains/Kotlin)
[![Gradle Compatibility](http://img.shields.io/badge/Gradle-7.4+-f68244?logo=gradle&labelColor=2B2B2B)](https://gradle.org/releases/)

A tiny Gradle plugin that adds JS/TS API support to the
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[versions]

fluxoBcvJs = "0.0.1-SNAPSHOT"
fluxoBcvJs = "0.0.1-rc"

# Public API management tool
# https://github.com/Kotlin/binary-compatibility-validator/releases
Expand Down

0 comments on commit 726077c

Please sign in to comment.