Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robstoll committed Jan 10, 2024
1 parent 745fa14 commit 1ca3c55
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Following a few guidelines so that others can quickly benefit from your contribu

## Code of Conduct
This project and everyone participating in it is governed by Minimalist's
[Code of Conduct](https://github.com/tegonal/minimalist/tree/main/.github/CODE_OF_CONDUCT.md).
[Code of Conduct](https://github.com/tegonal/minimalist/tree/v1.1.0/.github/CODE_OF_CONDUCT.md).
By participating, you are expected to uphold this code. Please report unacceptable behaviour to info@tutteli.ch

## How to Contribute
Expand Down
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<!-- for main -->

[![Download](https://img.shields.io/badge/Download-v1.0.0-%23007ec6)](https://github.com/tegonal/minimalist/releases/tag/v1.0.0)
[![Download](https://img.shields.io/badge/Download-v1.1.0-%23007ec6)](https://github.com/tegonal/minimalist/releases/tag/v1.1.0)
[![EUPL](https://img.shields.io/badge/%E2%9A%96-EUPL%201.2-%230b45a6)](https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12 "License")
[![Code Quality](https://github.com/tegonal/minimalist/workflows/Code%20Quality/badge.svg?event=push&branch=main)](https://github.com/tegonal/minimalist/actions/workflows/code-quality.yml?query=branch%3Amain)
[![Newcomers Welcome](https://img.shields.io/badge/%F0%9F%91%8B-Newcomers%20Welcome-blueviolet)](https://github.com/tegonal/minimalist/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 "Ask in discussions for help")

<!-- for main end -->
<!-- for release -->
<!--
[![Download](https://img.shields.io/badge/Download-v1.0.0-%23007ec6)](https://github.com/tegonal/minimalist/releases/tag/v1.0.0)
[![Download](https://img.shields.io/badge/Download-v1.1.0-%23007ec6)](https://github.com/tegonal/minimalist/releases/tag/v1.1.0)
[![EUPL](https://img.shields.io/badge/%E2%9A%96-EUPL%201.2-%230b45a6)](https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12 "License")
[![Newcomers Welcome](https://img.shields.io/badge/%F0%9F%91%8B-Newcomers%20Welcome-blueviolet)](https://github.com/tegonal/minimalist/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 "Ask in discussions for help")
-->
Expand All @@ -23,11 +23,11 @@ a library which helps you in setting up parameterized tests and prioritise them
to execute all of them.


---
<!---
❗ You are taking a *sneak peek* at the next version. It could be that some features you find on this page are not released yet.
Please have a look at the README of the corresponding release/git tag. Latest version: [README of v1.0.0](https://github.com/tegonal/minimalist/tree/v1.0.0/README.md).
Please have a look at the README of the corresponding release/git tag. Latest version: [README of v1.1.0](https://github.com/tegonal/minimalist/tree/v1.1.0/README.md).
---
--->

**Table of Content**
- [Installation](#installation)
Expand All @@ -44,13 +44,17 @@ repositories {
mavenCentral()
}
dependencies {
testImplementation("com.tegonal.minimalist:minimalist:1.0.0")
testImplementation("com.tegonal.minimalist:minimalist:1.1.0")
}
```

# Documentation

Code documentation can be found on github-pages: <https://tegonal.github.io/minimalist/1.1.0/kdoc>.

# License

Minimalist is licensed under [EUPL 1.2](https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12).
Minimalist is licensed under [EUPL 1.2](https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12).

Minimalist is using
- [junit-jupiter-params](https://github.com/junit-team/junit5) licensed under [EPL 2.0](https://www.eclipse.org/legal/epl-v20.html)
19 changes: 10 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
alias(libs.plugins.nexus.publish)
}

version = "1.1.0-SNAPSHOT"
version = "1.1.0"
group = "com.tegonal.minimalist"
description = "Library which helps to setup and prioritise parameterized tests"

Expand Down Expand Up @@ -62,6 +62,7 @@ fun createStringBuilder(packageName: String) = StringBuilder(dontModifyNotice)

val numOfArgs = 10

//TODO move this to own file otherwise we always replace the @since during a release via scripts and need to revert again
val generate: TaskProvider<Task> = tasks.register("generate") {
doFirst {
val packageDir = File(generationFolder.asPath + "/" + packageNameAsPath)
Expand Down Expand Up @@ -638,23 +639,23 @@ Release & deploy a commit
1. update main:
export MNLMST_PREVIOUS_VERSION=0.9.0
export MNLMST_VERSION=1.0.0
export MNLMST_PREVIOUS_VERSION=1.1.0
export MNLMST_VERSION=1.1.0
find ./ -name "*.md" | xargs perl -0777 -i \
-pe "s@$MNLMST_PREVIOUS_VERSION@$MNLMST_VERSION@g;" \
-pe "s@tree/main@tree/v$MNLMST_VERSION@g;" \
-pe "s@latest#/doc@$MNLMST_VERSION/doc@g;"
-pe "s@latest#/kdoc@$MNLMST_VERSION/kdoc@g;"
perl -0777 -i \
-pe "s@$MNLMST_PREVIOUS_VERSION@$MNLMST_VERSION@g;" \
-pe "s/rootProject.version = \"${MNLMST_VERSION}-SNAPSHOT\"/rootProject.version = \"$MNLMST_VERSION\"/;" \
-pe "s/version = \"${MNLMST_VERSION}-SNAPSHOT\"/version = \"$MNLMST_VERSION\"/;" \
./build.gradle.kts
perl -0777 -i \
-pe 's/(<!-- for main -->\n)\n([\S\s]*?)(\n<!-- for a specific release -->\n)<!--\n([\S\s]*?)-->\n(\n# <img)/$1<!--\n$2-->$3\n$4\n$5/;' \
-pe 's/(---\n❗ You are taking[^-]*?---)/<!$1>/;' \
./README.md
git commit -a -m "v$MNLMST_VERSION"
check changes (CONTRIBUTING.md, difference.md, build.gradle.kts, README.md)
check changes (CONTRIBUTING.md, build.gradle.kts, README.md)
git push
Expand All @@ -671,12 +672,12 @@ Assumes you have a minimalist-gh-pages folder on the same level as minimalist wh
Either use the following commands or the manual steps below (assuming MNLMST_PREVIOUS_VERSION and MNLMST_VERSION
is already set from commands above)
Increment MNLMST_GH_PAGES_VERSIONS_JS_VERSION_NEXT
Increment MNLMST_GH_PAGES_VERSIONS_JS_VERSION and MNLMST_GH_PAGES_VERSIONS_JS_VERSION__NEXT
export MNLMST_GH_PAGES_LOGO_CSS_VERSION="1.3"
export MNLMST_GH_PAGES_ALERT_CSS_VERSION="1.1"
export MNLMST_GH_PAGES_VERSIONS_JS_VERSION="1.2.0"
export MNLMST_GH_PAGES_VERSIONS_JS_VERSION_NEXT="1.3.0"
export MNLMST_GH_PAGES_VERSIONS_JS_VERSION="1.3.0"
export MNLMST_GH_PAGES_VERSIONS_JS_VERSION_NEXT="1.4.0"
gr dokkaHtml
Expand Down

0 comments on commit 1ca3c55

Please sign in to comment.