Skip to content

Instantly share code, notes, and snippets.

View sstone's full-sized avatar

Fabrice Drouin sstone

  • ACINQ
  • Paris, France
View GitHub Profile
@sstone
sstone / release-repository.sh
Created March 9, 2021 09:27 — forked from romainbsl/release-repository.sh
Sonatype: close and release a staging repository
#!/usr/bin/env bash
username=
password=
stagedRepositoryId=
while [ "$1" != "" ]; do
case $1 in
-u | --username)
shift
@sstone
sstone / drop-repository.sh
Created March 9, 2021 09:27 — forked from romainbsl/drop-repository.sh
Sonatype: drop a staging repository
#!/usr/bin/env bash
username=
password=
stagedRepositoryId=
while [ "$1" != "" ]; do
case $1 in
-u | --username)
shift
@sstone
sstone / create-repository.sh
Created March 9, 2021 09:27 — forked from romainbsl/create-repository.sh
Sonatype: create a staging repository and pass it as a Github Action output.
#!/usr/bin/env bash
username=
password=
profileId=
description="Creating staging repository."
while [ "$1" != "" ]; do
case $1 in
-u | --username)