Glusk / sprouts

A multi-platform implementation of Sprouts, built with libGDX.
MIT License
1 stars 1 forks source link

Further rultor release script errors #178

Closed Glusk closed 4 years ago

Glusk commented 5 years ago

@rultor release, tag=0.9.0

@glusk2 Oops, I failed. You can see the full log here (spent 2min)

+ export head_branch=master
+ head_branch=master
+ export author=glusk2
+ author=glusk2
+ chmod +x gradlew
+ perl -i.orig -pe '/versionCode/ && s/([0-9]+)/$1+1 . $2/e' android/build.gradle
+ echo '$tag'
+ ./gradlew updateVersion
Downloading https://services.gradle.org/distributions/gradle-5.4.1-bin.zip
...................................................................................

Welcome to Gradle 5.4.1!

Here are the highlights of this release:
 - Run builds with JDK12
 - New API for Incremental Tasks
 - Updates to native projects, including Swift 5 support

For more details see https://docs.gradle.org/5.4.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

> Task :updateVersion

??> Enter the next version (current one released as [0.8.0]): [0.8.1]  (WAITING FOR INPUT BELOW)

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 1m 6s
1 actionable task: 1 executed
+ git commit -am 'Release: $tag'
[__rultor ba6fda3] Release: $tag
 2 files changed, 2 insertions(+), 2 deletions(-)
+ mv /home/r/repo .
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.9.0 -m '0.9.0: tagged by rultor.com'
+ git reset --hard
HEAD is now at ba6fda3 Release: $tag
+ git clean -fd
Removing android/build.gradle.orig
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was ba6fda3).
+ git push --all origin
ERROR: Permission to Glusk2/sprouts.git denied to rultor.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
container 534d7be4d0206289379d66ebad8a210757aba97309689ac62146a3fb0b5aafe6 is dead
Tue Oct 22 02:18:11 CEST 2019

Originally posted by @rultor in https://github.com/Glusk2/sprouts/issues/163#issuecomment-544760442

Glusk commented 5 years ago

Version update without piping:

./gradlew updateVersion -Prelease.useAutomaticVersion=true -PnewVersion=$tag

Properly formatted commit message with the $tag;

git commit -am "Release $tag"
Glusk commented 4 years ago

Rultor should also push the master branch, not just the tag. Rultor should run the build before release.

Glusk commented 4 years ago

@rultor release, tag=0.9.2

rultor commented 4 years ago

@rultor release, tag=0.9.2

@glusk2 OK, I will release it now. Please check the progress here

Glusk commented 4 years ago

@rultor stop

rultor commented 4 years ago

@rultor stop

@glusk2 OK, I'll try to stop current task.

rultor commented 4 years ago

@rultor stop

@glusk2 Sorry, I failed to stop the previous command, however it has the following result: Oops, I failed. You can see the full log here (spent 16min)

> Task :ios:classes
> Task :ios:jar
> Task :ios:assemble
> Task :ios:checkstyleMain
> Task :ios:compileTestJava NO-SOURCE
> Task :ios:processTestResources NO-SOURCE
> Task :ios:testClasses UP-TO-DATE
> Task :ios:checkstyleTest NO-SOURCE
> Task :ios:test NO-SOURCE
> Task :ios:check
> Task :ios:build
> Task :android:bundleDebugClasses
> Task :android:preDebugAndroidTestBuild SKIPPED
> Task :android:compileDebugAndroidTestAidl NO-SOURCE
> Task :android:processDebugAndroidTestManifest
> Task :android:compileDebugAndroidTestRenderscript NO-SOURCE
> Task :android:generateDebugAndroidTestBuildConfig
> Task :android:generateDebugAndroidTestSources
> Task :android:javaPreCompileDebugAndroidTest
> Task :android:mainApkListPersistenceDebugAndroidTest
> Task :android:generateDebugAndroidTestResValues
> Task :android:generateDebugAndroidTestResources
> Task :android:mergeDebugAndroidTestResources
> Task :android:processDebugAndroidTestResources
> Task :android:compileDebugAndroidTestJavaWithJavac
> Task :android:mergeDebugAndroidTestShaders
> Task :android:compileDebugAndroidTestShaders
> Task :android:generateDebugAndroidTestAssets
> Task :android:mergeDebugAndroidTestAssets
> Task :android:checkDebugAndroidTestDuplicateClasses
> Task :android:mergeExtDexDebugAndroidTest
> Task :android:transformClassesWithDexBuilderForDebugAndroidTest
> Task :android:mergeDexDebugAndroidTest
> Task :android:validateSigningDebugAndroidTest
> Task :android:signingConfigWriterDebugAndroidTest
> Task :android:mergeDebugAndroidTestJniLibFolders
> Task :android:transformNativeLibsWithMergeJniLibsForDebugAndroidTest
> Task :android:processDebugAndroidTestJavaRes NO-SOURCE
> Task :android:transformResourcesWithMergeJavaResForDebugAndroidTest
> Task :android:packageDebugAndroidTest
> Task :android:connectedDebugAndroidTest
> Task :android:connectedAndroidTest
> Task :android:connectedCheck

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 2m 23s
99 actionable tasks: 99 executed
+ git commit -am 'Release 0.9.2'
[__rultor f4fa11e] Release 0.9.2
 2 files changed, 2 insertions(+), 2 deletions(-)
+ git push origin master
The authenticity of host 'github.com (140.82.118.4)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? ba0ce12711ea37a93868cc275daaedc970514595dd066992ab3c61223b33b3df
Error response from daemon: Cannot kill container: ba0ce12711ea37a93868cc275daaedc970514595dd066992ab3c61223b33b3df: Container ba0ce12711ea37a93868cc275daaedc970514595dd066992ab3c61223b33b3df is not running
container ba0ce12711ea37a93868cc275daaedc970514595dd066992ab3c61223b33b3df is dead
Mon Oct 28 06:10:17 CET 2019
Glusk commented 4 years ago

Doesn't push. Should it push?

Glusk commented 4 years ago

Rultor only pushes tags.