Skip to content

Commit b913059

Browse files
committed
v0.4.1
1 parent b28e2fa commit b913059

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

.github/scripts/release

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
#!/usr/bin/env bash
22

3+
set -euo pipefail
4+
35
cd "$(dirname "$0")/../.." || exit
46

57
git fetch --depth=100 origin +refs/tags/*:refs/tags/*
68

79
echo "GITHUB_REF=$GITHUB_REF"
810

9-
./sbt "show version" "ci-release"
11+
: "${PGP_KEY_HEX:?PGP_KEY_HEX is required for signing}"
12+
: "${PGP_SECRET:?PGP_SECRET is required for signing}"
13+
: "${PGP_PASSPHRASE:?PGP_PASSPHRASE is required for signing}"
14+
: "${SONATYPE_USERNAME:?SONATYPE_USERNAME is required for publishing}"
15+
: "${SONATYPE_PASSWORD:?SONATYPE_PASSWORD is required for publishing}"
16+
17+
printf '%s' "$PGP_SECRET" | base64 --decode | gpg --batch --yes --import
18+
19+
./sbt "show version" "ci-release"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ Macro-free helpers for defining newtypes in Scala, cross-compiled to Scala 3.
77
The packages are published on Maven Central.
88

99
```scala
10-
libraryDependencies += "io.monix" %% "newtypes-core" % "0.4.0"
10+
libraryDependencies += "io.monix" %% "newtypes-core" % "0.4.1"
1111
```
1212

1313
For the [Circe integration](https://newtypes.monix.io/docs/circe.html):
1414

1515
```scala
1616
// For Circe version 0.14.x
17-
libraryDependencies += "io.monix" %% "newtypes-circe-v0-14" % "0.4.0"
17+
libraryDependencies += "io.monix" %% "newtypes-circe-v0-14" % "0.4.1"
1818
```
1919

2020
For the [PureConfig integration](https://newtypes.monix.io/docs/pure-config.html):
2121

2222
```scala
2323
// For PureConfig version 0.17.x
24-
libraryDependencies += "io.monix" %% "newtypes-pureconfig-v0-17" % "0.4.0"
24+
libraryDependencies += "io.monix" %% "newtypes-pureconfig-v0-17" % "0.4.1"
2525
```
2626

2727
NOTE: the [version scheme](https://www.scala-lang.org/blog/2021/02/16/preventing-version-conflicts-with-versionscheme.html) is set to `early-semver`.

0 commit comments

Comments
 (0)