Skip to content

Commit 6ee6b4e

Browse files
committed
[Update]: Add push scripts.
1 parent 75824f4 commit 6ee6b4e

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

upd-3party.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# moving packages to 3rd party repository
4+
mv ./3rdparty-x86_64/* ../zone-3party-repo/x86_64/
5+
6+
# update repository, remove .old & push changes
7+
(cd ../zone-3party-repo/x86_64/; repo-add zone-3party-repo.db.tar.gz *.pkg.tar.zst; rm -rf *.old; git add .; git commit -m "Update 3rd Party Repository"; .tkn personal; git push -u origin master)

upd-core.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# moving packages to core repository
4+
mv ./core-x86_64/* ../zone-core-repo/x86_64/
5+
6+
# update repository, remove .old & push changes
7+
(cd ../zone-core-repo/x86_64/; repo-add zone-core-repo.db.tar.gz *.pkg.tar.zst; rm -rf *.old; git add .; git commit -m "Update Core Repository"; .tkn personal; git push -u origin master)

upd-local.sh

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# moving packages to core repository
4+
mv ./local-x86_64/* ../zone-repo/x86_64/
5+
6+
# update repository, remove .old & push changes
7+
(cd ../zone-repo/x86_64/; repo-add zone-repo.db.tar.gz *.pkg.tar.zst; rm -rf *.old; git add .; git commit -m "Update Local Repository"; .tkn personal; git push -u origin master)

0 commit comments

Comments
 (0)