forked from platypush/platypush
Fixed sed expression
This commit is contained in:
parent
7a85f13f23
commit
d969119f60
1 changed files with 2 additions and 2 deletions
|
@ -275,7 +275,7 @@ steps:
|
||||||
- echo "--- Parsing metadata"
|
- echo "--- Parsing metadata"
|
||||||
- git config --global --add safe.directory $PWD
|
- git config --global --add safe.directory $PWD
|
||||||
- git pull --rebase origin master --tags
|
- git pull --rebase origin master --tags
|
||||||
- export PY_VERSION=$(python3 --version | awk '{print $2}' | sed -re 's/^([0-9]+\.[0-9]+).*/\1/')
|
- export PY_VERSION="$(python3 --version | awk '{print $2}' | sed -r -e 's/^([0-9]+\.[0-9]+).*/\1/')"
|
||||||
- export VERSION=$(python3 setup.py --version)
|
- export VERSION=$(python3 setup.py --version)
|
||||||
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1)
|
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1)
|
||||||
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
|
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
|
||||||
|
@ -334,7 +334,7 @@ steps:
|
||||||
- echo "--- Parsing metadata"
|
- echo "--- Parsing metadata"
|
||||||
- git config --global --add safe.directory $PWD
|
- git config --global --add safe.directory $PWD
|
||||||
- git pull --rebase origin master --tags
|
- git pull --rebase origin master --tags
|
||||||
- export PY_VERSION=$(python3 --version | awk '{print $2}' | sed -re 's/^([0-9]+\.[0-9]+).*/\1/')
|
- export PY_VERSION="$(python3 --version | awk '{print $2}' | sed -r -e 's/^([0-9]+\.[0-9]+).*/\1/')"
|
||||||
- export VERSION=$(python3 setup.py --version)
|
- export VERSION=$(python3 setup.py --version)
|
||||||
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1)
|
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1)
|
||||||
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
|
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
|
||||||
|
|
Loading…
Reference in a new issue