Skip to content

Commit

Permalink
Configure sbt release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
apascali-1A committed Nov 17, 2023
1 parent a7855ab commit 2011835
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/scala-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Test with sbt
run: sbt test

- name: Bump version
run: sbt release

# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository
- name: Upload dependency graph
uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91
Expand All @@ -50,4 +53,4 @@ jobs:
- name: Publish with sbt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: sbt +publish
run: sbt release with-defaults
4 changes: 1 addition & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name := "elastic_scaling"

organization := "com.amadeus"

ThisBuild / versionScheme := Some("semver-spec")

version := "2.0.0"
releaseIgnoreUntrackedFiles := true

scalaVersion := "2.12.12"

Expand Down
1 change: 1 addition & 0 deletions version.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ThisBuild / version := "2.0.0-SNAPSHOT"

0 comments on commit 2011835

Please sign in to comment.