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
fe1c71a1
Commit
fe1c71a1
authored
Apr 16, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move version to weblate module
parent
1922a370
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
scripts/create-release
scripts/create-release
+1
-1
scripts/set-version
scripts/set-version
+1
-1
scripts/tag-version
scripts/tag-version
+1
-1
weblate/__init__.py
weblate/__init__.py
+1
-0
weblate/trans/__init__.py
weblate/trans/__init__.py
+0
-1
No files found.
scripts/create-release
View file @
fe1c71a1
...
...
@@ -8,7 +8,7 @@ if [ "x$1" = "x--help" -o "x$1" = "x-h" ] ; then
fi
# Grab version
version
=
`
python
-c
'import
trans; print trans
.VERSION'
`
version
=
`
python
-c
'import
weblate; print weblate
.VERSION'
`
namever
=
weblate-
$version
# What are we going to build?
...
...
scripts/set-version
View file @
fe1c71a1
...
...
@@ -6,7 +6,7 @@ if [ -z "$1" ] ; then
exit
1
fi
sed
-i
"s/VERSION =.*/VERSION = '
$1
'/"
trans
/__init__.py
sed
-i
"s/VERSION =.*/VERSION = '
$1
'/"
weblate
/__init__.py
sed
-i
"s/version =.*/version = '
$1
'/"
docs/conf.py
sed
-i
"s/Version: .*/Version:
$1
/"
weblate.spec
...
...
scripts/tag-version
View file @
fe1c71a1
#!/bin/sh
set
-e
VERSION
=
`
python
-c
'import
trans; print trans
.VERSION'
`
VERSION
=
`
python
-c
'import
weblate; print weblate
.VERSION'
`
git tag
-s
weblate-
$VERSION
-m
"Version
$VERSION
"
weblate/__init__.py
View file @
fe1c71a1
VERSION
=
'0.9'
weblate/trans/__init__.py
View file @
fe1c71a1
VERSION
=
'0.9'
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