Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
32b806d0
Commit
32b806d0
authored
Apr 03, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Script for creating release
parent
21724ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
scripts/create-release
scripts/create-release
+20
-0
No files found.
scripts/create-release
0 → 100755
View file @
32b806d0
#!/bin/sh
if
[
"x
$1
"
=
"x--help"
-o
"x
$1
"
=
"x-h"
]
;
then
echo
"Usage: ./scripts/create-release [--tag|TREE-ISH]"
exit
1
fi
version
=
`
python
-c
'import trans; print trans.VERSION'
`
if
[
-z
"
$1
"
]
;
then
rev
=
HEAD
else
if
[
"x
$1
"
=
"x--tag"
]
;
then
rev
=
weblate-
$version
git tag
-s
$rev
-m
"Version
$VERSION
"
else
rev
=
$1
fi
fi
git archive
--format
=
tar
--prefix
=
weblate-
$version
/
$rev
| xz
>
weblate-
$version
.tar.xz
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