Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mkinitcpio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
obcore
mkinitcpio
Commits
fcb8361f
Commit
fcb8361f
authored
Aug 30, 2019
by
Eric Vidal
Browse files
Options
Downloads
Patches
Plain Diff
update deploy.sh script
parent
542240f1
Branches
Branches containing commit
Tags
8.2.1-2
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.deploy.sh
+8
-6
8 additions, 6 deletions
.deploy.sh
with
8 additions
and
6 deletions
.deploy.sh
+
8
−
6
View file @
fcb8361f
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment