1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[misc] try to make that darn Appx taskbar icon transparent

* Still doesn't work though :(
* Also some minor .sln and _pre-commit.sh improvements
This commit is contained in:
Pete Batard 2017-05-14 13:22:16 +01:00
parent 3d1b3bac40
commit 09181454dd
5 changed files with 33 additions and 22 deletions

View file

@ -12,13 +12,13 @@
type -P sed &>/dev/null || { echo "sed command not found. Aborting." >&2; exit 1; }
type -P git &>/dev/null || { echo "git command not found. Aborting." >&2; exit 1; }
VER=`git log --oneline | wc -l`
TAGVER=`git rev-list HEAD --count`
# adjust so that we match the github commit count
TAGVER=`expr $VER + 1`
((TAGVER++))
# there may be a better way to prevent improper micro on amend. For now the detection
# of a .amend file in the current directory will do
if [ -f ./.amend ]; then
TAGVER=`expr $TAGVER - 1`
((TAGVER--))
git tag -d "b$TAGVER"
rm ./.amend;
fi