Post release cleanup (#103)
* Set version to 0.15.0-SNAPSHOT * Update publishing scripts
This commit is contained in:
parent
c582396b96
commit
b2eb68bf83
@ -22,7 +22,7 @@ buildscript {
|
|||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "fr.acinq.secp256k1"
|
group = "fr.acinq.secp256k1"
|
||||||
version = "0.14.0"
|
version = "0.15.0-SNAPSHOT"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
if [[ -z "${VERSION}" ]]; then
|
||||||
|
echo "VERSION is not defined"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "specify either snapshot or release"
|
echo "specify either snapshot or release"
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
if [[ -z "${VERSION}" ]]; then
|
||||||
|
echo "VERSION is not defined"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ $# -eq 0 ]
|
if [ $# -eq 0 ]
|
||||||
then
|
then
|
||||||
echo "specify either snapshot or release"
|
echo "specify either snapshot or release"
|
||||||
|
@ -3,9 +3,22 @@
|
|||||||
# first you must sign all files:
|
# first you must sign all files:
|
||||||
# find release -type f -print -exec gpg -ab {} \;
|
# find release -type f -print -exec gpg -ab {} \;
|
||||||
|
|
||||||
VERSION=0.6.2
|
if [[ -z "${VERSION}" ]]; then
|
||||||
|
echo "VERSION is not defined"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z "${OSS_USER}" ]]; then
|
||||||
|
echo "OSS_USER is not defined"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
read -p "Password : " -s OSS_PASSWORD
|
||||||
|
|
||||||
|
|
||||||
for i in secp256k1-kmp \
|
for i in secp256k1-kmp \
|
||||||
secp256k1-kmp-iosarm64 \
|
secp256k1-kmp-iosarm64 \
|
||||||
|
secp256k1-kmp-iossimulatorarm64 \
|
||||||
secp256k1-kmp-iosx64 \
|
secp256k1-kmp-iosx64 \
|
||||||
secp256k1-kmp-jni-android \
|
secp256k1-kmp-jni-android \
|
||||||
secp256k1-kmp-jni-common \
|
secp256k1-kmp-jni-common \
|
||||||
@ -15,14 +28,14 @@ for i in secp256k1-kmp \
|
|||||||
secp256k1-kmp-jni-jvm-linux \
|
secp256k1-kmp-jni-jvm-linux \
|
||||||
secp256k1-kmp-jni-jvm-mingw \
|
secp256k1-kmp-jni-jvm-mingw \
|
||||||
secp256k1-kmp-jvm \
|
secp256k1-kmp-jvm \
|
||||||
secp256k1-kmp-linux
|
secp256k1-kmp-linuxx64
|
||||||
do
|
do
|
||||||
pushd .
|
pushd .
|
||||||
cd release/fr/acinq/secp256k1/$i/$VERSION
|
cd release/fr/acinq/secp256k1/$i/$VERSION
|
||||||
pwd
|
pwd
|
||||||
jar -cvf bundle.jar *
|
jar -cvf bundle.jar *
|
||||||
# use correct sonatype credentials here
|
# use correct sonatype credentials here
|
||||||
curl -v -XPOST -u USER:PASSWORD --upload-file bundle.jar https://oss.sonatype.org/service/local/staging/bundle_upload
|
curl -v -XPOST -u $OSS_USER:$OSS_PASSWORD --upload-file bundle.jar https://oss.sonatype.org/service/local/staging/bundle_upload
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user