Skip to content
Snippets Groups Projects
Commit 5451267a authored by Walter Lozano's avatar Walter Lozano
Browse files

apertis-pkg-merge-local: Rename commit to release


The commit command is intended to update the changelog and commit the
changes, to make the use of the command clearer rename it to release.

Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
parent 2bac485c
No related branches found
No related tags found
2 merge requests!103Backport v2025 <- v2026dev1: ci-license-scan: Add proposed whitelist,!101ci-license-scan: Add proposed whitelist
...@@ -67,7 +67,7 @@ diff_old() { ...@@ -67,7 +67,7 @@ diff_old() {
git diff $EXTRA_ARGS origin/$UPSTREAM_BRANCH_OLD origin/$DOWNSTREAM_BRANCH_OLD ':(exclude)debian/apertis' ':(exclude)debian/changelog' git diff $EXTRA_ARGS origin/$UPSTREAM_BRANCH_OLD origin/$DOWNSTREAM_BRANCH_OLD ':(exclude)debian/apertis' ':(exclude)debian/changelog'
} }
commit() { release() {
dch --force-distribution --distribution apertis --local +apertis --upstream Rebase on top of $UPSTREAM_BRANCH dch --force-distribution --distribution apertis --local +apertis --upstream Rebase on top of $UPSTREAM_BRANCH
git add debian/changelog git add debian/changelog
git diff --cached git diff --cached
...@@ -92,11 +92,11 @@ diff) ...@@ -92,11 +92,11 @@ diff)
diff_old) diff_old)
diff_old diff_old
;; ;;
commit) release)
commit release
;; ;;
*) *)
echo Unknown command echo Unknown command
echo Usage `basename $0` '[merge|diff|diff_old|commit]' echo Usage `basename $0` '[merge|diff|diff_old|release]'
;; ;;
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment