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: ff5a1bab9c465fb326255fe443a8f7d3f593b713 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/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 main
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 main
cd templates/CarnetElectron
git checkout -b nextcloud-stable-$version
git push origin nextcloud-stable-$version
git push framagit nextcloud-stable-$version
git checkout main