Skip to content
Snippets Groups Projects
Commit fcb8361f authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

update deploy.sh script

parent 542240f1
Branches
Tags 8.2.1-2
No related merge requests found
......@@ -87,6 +87,7 @@ mkdir -p version/${pkgver}-${pkgrel} || die "Unable to make directory version/${
out_trace "Copy file from trunk to version/${pkgver}-${pkgrel}"
cp trunk/* version/${pkgver}-${pkgrel} || die "Unable to copy trunk/* to version/${pkgver}-${pkgrel}"
if ! git diff-index --quiet HEAD; then
out_trace "Git add new file"
git add . || die "Unable to git add"
......@@ -95,5 +96,6 @@ git commit -m "upgpkg: ${pkgver}-${pkgrel}" || die "Unable to commit"
out_trace "Push the new version"
git push --all || die "Unable to push at git@${CI_SERVER_HOST}:/${CI_PROJECT_PATH}.git"
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment