Skip to content

Commit

Permalink
Merge pull request #15 from p2m2/develop
Browse files Browse the repository at this point in the history
update lib 1.17.2
  • Loading branch information
ofilangi authored Feb 21, 2024
2 parents f3266f3 + a444936 commit 46f9a96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Release
on:
push:
branches: [master, main]
branches: [main,develop]
tags: ["*"]
jobs:
publish:
Expand All @@ -15,7 +15,10 @@ jobs:
distribution: temurin
java-version: 18
cache: sbt
- run: sbt ci-release
- run: |
export PROG_VERSION=${GITHUB_REF_NAME} && [[ ${GITHUB_REF_TYPE} = "branch" ]] && export PROG_VERSION=${GITHUB_REF_NAME}"-SNAPSHOT"
echo "VERSION=$PROG_VERSION"
sbt ci-release
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lazy val version_n3="1.17.2"

def getPackageSetting = Seq(
name := "n3js",
version := scala.util.Properties.envOrElse("PROG_VERSION", version_n3 )+"-SNAPSHOT",
version := scala.util.Properties.envOrElse("PROG_VERSION", version_n3 ),
scalaVersion := "2.13.12",
versionScheme := Some("early-semver"),
organization := "com.github.p2m2",
Expand Down

0 comments on commit 46f9a96

Please sign in to comment.