mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 23:42:29 +00:00
Auto-merge for PR #572 via VersionBot
automation: Use ssh instead of https to PR to meta-resin
This commit is contained in:
commit
ad35375994
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
|
||||
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## v7.1.15 - 2018-03-15
|
||||
|
||||
* Automation: Use ssh instead of https to PR to meta-resin #572 [Pablo Carranza Velez]
|
||||
|
||||
## v7.1.14 - 2018-03-15
|
||||
|
||||
* Avoid trying to clean up the supervisor image if it has several tags (even though it would never succeed) #589 [Pablo Carranza Velez]
|
||||
|
@ -6,8 +6,9 @@
|
||||
#
|
||||
# If $PR_1X is "true", an additional PR for 1.X will be created.
|
||||
#
|
||||
# Requires $GITHUB_USER and $GITHUB_PASSWORD to push and create the pull-request.
|
||||
# Requires ssh keys set up to push and create the pull-request.
|
||||
# Requires $TAG to be set to the supervisor version to use.
|
||||
# Requires hub to be installed (see https://github.com/github/hub)
|
||||
#
|
||||
|
||||
set -e
|
||||
@ -18,13 +19,7 @@ if [ -z "$TAG" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$GITHUB_PASSWORD" || -z "$GITHUB_USER" ]]; then
|
||||
echo "GITHUB_USER and GITHUB_PASSWORD are required"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
REPO_URL=https://github.com/resin-os/meta-resin.git
|
||||
REPO_URL_WITH_CREDENTIALS=https://${GITHUB_USER}:${GITHUB_PASSWORD}@github.com/resin-os/meta-resin.git
|
||||
REPO_URL="git@github.com:resin-os/meta-resin.git"
|
||||
USER=${USER:-$(whoami)}
|
||||
|
||||
function prepareBranches() {
|
||||
@ -52,7 +47,7 @@ Changelog-Entry: Update supervisor to ${TAG}
|
||||
Change-Type: patch
|
||||
"
|
||||
|
||||
git push $REPO_URL_WITH_CREDENTIALS $HEAD
|
||||
git push origin $HEAD
|
||||
|
||||
hub pull-request -b ${BASE} -m "${BASE}: Update supervisor to ${TAG}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "resin-supervisor",
|
||||
"description": "This is resin.io's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as Resin's API informs it to.",
|
||||
"version": "7.1.14",
|
||||
"version": "7.1.15",
|
||||
"license": "Apache-2.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user