mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
build-sytem: hide archived Subsurface version from translation scan
The release process creates full Subsurface trees under tmp. Don't pick those up when looking for source strings. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6e6705fb6e
commit
1f65d9df62
1 changed files with 3 additions and 0 deletions
|
@ -20,7 +20,9 @@ git status | grep "Changes not staged for commit" 2>/dev/null && echo "tree not
|
|||
git status | grep "Changes to be committed" 2>/dev/null && echo "tree not clean" && exit 1
|
||||
|
||||
# now remove the translations and remove access to the kirigami sources
|
||||
# and any old sources under tmp
|
||||
chmod 000 mobile-widgets/qml/kirigami
|
||||
chmod 000 tmp
|
||||
rm translations/subsurface_source.ts
|
||||
|
||||
# enable creating the translation strings
|
||||
|
@ -51,6 +53,7 @@ git reset --hard
|
|||
|
||||
# now enable access to kirigami again
|
||||
chmod 755 mobile-widgets/qml/kirigami
|
||||
chmod 755 tmp
|
||||
|
||||
# this really depends on my filesystem layout
|
||||
# push sources to Transifex
|
||||
|
|
Loading…
Add table
Reference in a new issue