Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
flatpak-qt-creator
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marco Bubke
flatpak-qt-creator
Commits
bd8b23d4
Commit
bd8b23d4
authored
14 years ago
by
con
Browse files
Options
Downloads
Patches
Plain Diff
Make src packaging script more flexible.
parent
746b1fa8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/createSrcAndDocPackage.sh
+5
-5
5 additions, 5 deletions
scripts/createSrcAndDocPackage.sh
with
5 additions
and
5 deletions
scripts/createSrcAndDocPackage.sh
+
5
−
5
View file @
bd8b23d4
...
@@ -4,12 +4,12 @@
...
@@ -4,12 +4,12 @@
if
[[
$#
!=
2
]]
;
then
if
[[
$#
!=
2
]]
;
then
cat
<<
USAGE
cat
<<
USAGE
usage:
usage:
$0
<
branch
> <version>
$0
<
refspec
> <version>
Creates tar and zip source package from
origin/<branch
> and documentation-zip from current checkout.
Creates tar and zip source package from
<refspec
> and documentation-zip from current checkout.
Files and directories are named after <version>.
Files and directories are named after <version>.
example:
example:
$0
2.0.0 2.0.0-rc1
$0
origin/
2.0.0 2.0.0-rc1
USAGE
USAGE
exit
1
exit
1
fi
fi
...
@@ -18,9 +18,9 @@ BRANCH=$1
...
@@ -18,9 +18,9 @@ BRANCH=$1
VERSION
=
$2
VERSION
=
$2
cd
`
dirname
$0
`
/..
cd
`
dirname
$0
`
/..
echo
"Creating tar archive..."
echo
"Creating tar archive..."
git archive
--format
=
tar
--prefix
=
qt-creator-
${
VERSION
}
-src
/
origin/
${
BRANCH
}
|
gzip
>
qt-creator-
${
VERSION
}
-src
.tar.gz
||
exit
1
git archive
--format
=
tar
--prefix
=
qt-creator-
${
VERSION
}
-src
/
${
BRANCH
}
|
gzip
>
qt-creator-
${
VERSION
}
-src
.tar.gz
||
exit
1
echo
"Creating zip archive..."
echo
"Creating zip archive..."
git archive
--format
=
zip
--prefix
=
qt-creator-
${
VERSION
}
-src
/
origin/
${
BRANCH
}
>
qt-creator-
${
VERSION
}
-src
.zip
||
exit
1
git archive
--format
=
zip
--prefix
=
qt-creator-
${
VERSION
}
-src
/
${
BRANCH
}
>
qt-creator-
${
VERSION
}
-src
.zip
||
exit
1
echo
"Creating documentation..."
echo
"Creating documentation..."
rm
-r
doc/html
rm
-r
doc/html
qmake
-r
&&
make docs_online
||
exit
1
qmake
-r
&&
make docs_online
||
exit
1
...
...
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