Welcome to mirror list, hosted at ThFree Co, Russian Federation.

to_stable_branch.sh - github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 974d855d3441bf1fac228229ca7dc84f63413123 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

version=$(sed -n -e 's/.*<version>\(.*\)<\/version>.*/\1/p' appinfo/info.xml)
git branch -D stable
git push origin --delete stable
git push framagit --delete stable
git checkout master
git checkout -b stable
git push origin stable
git push framagit stable
git checkout -b stable-$version
git push origin stable-$version
git push framagit stable-$version
git checkout master