Skip to content

Commit

Permalink
release script improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Bleuzen committed Dec 10, 2018
1 parent 8620b85 commit 2c72136
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ CMakeLists.txt.user*
# Build directory
build

# Release directory
release

# My todo list
todo.txt
6 changes: 5 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ VERSION=$(echo $VERSION | tr -d '\n')

sed -i "/ <release date=/c\ <release date=\"$(date +%Y-%m-%d)\" version=\"$VERSION\"/>" com.github.Bleuzen.FFaudioConverter.appdata.xml

tar -cJf FFaudioConverter-$VERSION.tar.xz \
mkdir -p release

tar -cJf release/FFaudioConverter-$VERSION.tar.xz \
src/ \
FFaudioConverter.pro \
build.sh \
Expand All @@ -16,3 +18,5 @@ tar -cJf FFaudioConverter-$VERSION.tar.xz \
com.github.Bleuzen.FFaudioConverter.png \
com.github.Bleuzen.FFaudioConverter.ico \
ffaudioconverter.qrc

sha256sum release/FFaudioConverter-$VERSION.tar.xz

0 comments on commit 2c72136

Please sign in to comment.