Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7584a322
Commit
7584a322
authored
Sep 26, 2020
by
Alexander Wiebel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CHANGE
#409
] removed last remains of mercurial (hg) SCM
parent
da01efcb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
tools/release/owrelease
tools/release/owrelease
+9
-9
No files found.
tools/release/owrelease
View file @
7584a322
...
...
@@ -34,11 +34,11 @@ VERSION_BASE=1.4.0
# Any additonal tags?
VERSION_TAGS
=
""
# Should the package number contain the
HG
revision?
VERSION_INCLUDE_
HG
=
0
# Should the package number contain the
GIT
revision?
VERSION_INCLUDE_
GIT
=
0
# Where to grab the sources?
REPO
=
"ssh://
ebaum@openwalnut.org//srv/hg/ow
"
REPO
=
"ssh://
git@bsvgit.informatik.uni-leipzig.de/openwalnut/openwalnut.git
"
REPO_BRANCH
=
"OpenWalnut_1.4"
# build from a release branch?
#REPO_BRANCH="OpenWalnut_$VESION"
...
...
@@ -76,7 +76,7 @@ RELEASE_DIR="OpenWalnut-Release"
export
LC_ALL
=
C
# Where to put the files
CHECKOUT_DIR
=
"OpenWalnut-
hg
"
CHECKOUT_DIR
=
"OpenWalnut-
git
"
# the source config file
CONFIG_FILE
=
owrelease.config
...
...
@@ -101,13 +101,13 @@ Bootstrap()
# get code
echo
"* Cloning OpenWalnut repository
\"
$REPO
\"
."
hg
clone
--branch
$REPO_BRANCH
"
$REPO
"
"
$CHECKOUT_DIR
"
git
clone
--branch
$REPO_BRANCH
"
$REPO
"
"
$CHECKOUT_DIR
"
if
[
$?
-ne
0
]
;
then
echo
" * Cloning failed. Wrong repository?"
exit
1
fi
echo
"* Creating CHANGELOG."
hg log
--style
changelog
"
$CHECKOUT_DIR
"
>
"
$CHECKOUT_DIR
/CHANGELOG"
echo
"* Creating CHANGELOG.
(
$CHECKOUT_DIR
)
"
git
--git-dir
"
$CHECKOUT_DIR
"
/.git log
--oneline
--decorate
>
"
$CHECKOUT_DIR
/CHANGELOG"
echo
"* Creating release directory
\"
$RELEASE_DIR
\"
."
mkdir
-p
$RELEASE_DIR
...
...
@@ -122,8 +122,8 @@ Bootstrap()
# The version. You can use shell commands to evaluate this. The command is
# called inside the working dir of owpack script.
echo
"VERSION_BASE=
$VERSION_BASE
"
>>
$CONFIG_FILE
if
[
$VERSION_INCLUDE_
HG
-ne
0
]
;
then
echo
"VERSION=
$VERSION_BASE$VERSION_TAGS
+
hg
`
cd
$CHECKOUT_DIR
;
hg parents
--template
"{node|short}"
`
"
>>
$CONFIG_FILE
if
[
$VERSION_INCLUDE_
GIT
-ne
0
]
;
then
echo
"VERSION=
$VERSION_BASE$VERSION_TAGS
+
git
`
cd
$CHECKOUT_DIR
;
git rev-parse HEAD
`
"
>>
$CONFIG_FILE
else
echo
"VERSION=
$VERSION_BASE$VERSION_TAGS
"
>>
$CONFIG_FILE
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment