Skip to content

Commit 8fdabb6

Browse files
authored
Tweak Maven Central publishing & update badges (#23)
* Push to Maven Central on release * Update badges * Update main branch name
1 parent d7f6373 commit 8fdabb6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
on:
22
push:
33
branches:
4-
- master
4+
- main
55
pull_request:
6-
branches:
7-
- master
86

97
jobs:
108
test:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# sbt-dependency-lock
2-
[![Build Status](https://travis-ci.com/stringbean/sbt-dependency-lock.svg?branch=master)](https://travis-ci.com/stringbean/sbt-dependency-lock)
2+
3+
[![Build Status](https://img.shields.io/github/workflow/status/stringbean/sbt-dependency-lock/ci)](https://github.com/stringbean/sbt-dependency-lock/actions/workflows/ci.yml)
34
[![Codacy grade](https://img.shields.io/codacy/grade/d45ca406c90c45c88a3a317563bc3302?label=codacy)](https://codacy.com/app/stringbean/sbt-dependency-lock)
45
[![Known Vulnerabilities](https://snyk.io/test/github/stringbean/sbt-dependency-lock/badge.svg?targetFile=build.sbt)](https://snyk.io/test/github/stringbean/sbt-dependency-lock?targetFile=build.sbt)
5-
![Bintray](https://img.shields.io/bintray/v/stringbean/sbt-plugins/sbt-dependency-lock?label=sbt%201.x)
6-
[![Join the chat at https://gitter.im/sbt-dependency-lock/community](https://badges.gitter.im/sbt-dependency-lock/community.svg)](https://gitter.im/sbt-dependency-lock/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6+
![Maven Central](https://img.shields.io/maven-central/v/software.purpledragon/sbt-dependency-lock_2.12_1.0?label=sbt%201.x)
7+
[![GitHub Discussions](https://img.shields.io/github/discussions/stringbean/sbt-dependency-lock)](https://github.com/stringbean/sbt-dependency-lock/discussions)
78

89
An sbt plugin to create a dependency lockfile similar to `package-lock.json` for npm or `Gemfile.lock` for RubyGems.
910

build.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ releaseProcess := Seq[ReleaseStep](
5858
commitReleaseVersion,
5959
tagRelease,
6060
publishArtifacts,
61+
releaseStepTask(sonatypeBundleRelease),
6162
releaseStepTask(ghpagesPushSite),
6263
setNextVersion,
6364
commitNextVersion,

0 commit comments

Comments
 (0)