Fix issue with invalid environment substitution in .drone.yml
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
299273c72f
commit
52aab1fae8
|
@ -51,10 +51,12 @@ steps:
|
||||||
- export PKG_FILENAME=$(basename $PKG_PATH)
|
- export PKG_FILENAME=$(basename $PKG_PATH)
|
||||||
- export PKG_NAME=$(basename $PKG_PATH | awk -F _ '{print $1}')
|
- export PKG_NAME=$(basename $PKG_PATH | awk -F _ '{print $1}')
|
||||||
- export PKG_VERSION=$(basename $PKG_PATH | awk -F _ '{print $2}')
|
- export PKG_VERSION=$(basename $PKG_PATH | awk -F _ '{print $2}')
|
||||||
|
- echo $$PKG_FILENAME
|
||||||
|
- echo $$PKG_NAME v$$PKG_VERSION
|
||||||
- |
|
- |
|
||||||
curl --user "${USERNAME}:${PASSWORD}" -X PUT
|
curl --user "$${USERNAME}:$${PASSWORD}" -X PUT
|
||||||
--upload-file "${PKG_PATH}"
|
--upload-file "$${PKG_PATH}"
|
||||||
"https://code.birch-tree.net/api/packages/${USERNAME}/generic/${PKG_NAME}/${PKG_VERSION}/${PKG_FILENAME}"
|
"https://code.birch-tree.net/api/packages/$${USERNAME}/generic/$${PKG_NAME}/$${PKG_VERSION}/$${PKG_FILENAME}"
|
||||||
environment:
|
environment:
|
||||||
USERNAME: dorian
|
USERNAME: dorian
|
||||||
PASSWORD:
|
PASSWORD:
|
||||||
|
|
Loading…
Reference in New Issue