Commit 71bcd7bb authored by Stefan Funk's avatar Stefan Funk 🐧
Browse files

Fix ci file?

parent 871781fa
......@@ -74,10 +74,10 @@ deploy_tgcrud-webapp_dev:
- 'apk add --no-cache curl'
- export PLOC="$(ls ./${PPATH}/*.deb)"
- DEB_NAME=$PNAME-$PVERSION.deb
- if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then echo "---A SNAPSHOT BUILD IS BEING PERFORMED---"; fi
- if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then curl -u ${APTLY_USER}:${APTLY_PASSWORD} -X POST --header "Content-Type:multipart/form-data" -F file=@${PLOC} ${APTLY_URL}/files/${DEB_NAME}; fi
- if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then curl -u ${APTLY_USER}:${APTLY_PASSWORD} -X POST ${APTLY_URL}/repos/indy-snapshots/file/${DEB_NAME}; fi
- if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then 'curl -u ${APTLY_USER}:${APTLY_PASSWORD} -X PUT -H "Content-Type: application/json" --data "{}" ${APTLY_URL}/publish/:./indy'; fi
- 'if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then echo "---A SNAPSHOT BUILD IS BEING PERFORMED---"; fi'
- 'if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then curl -u ${APTLY_USER}:${APTLY_PASSWORD} -X POST --header "Content-Type:multipart/form-data" -F file=@${PLOC} ${APTLY_URL}/files/${DEB_NAME}; fi'
- 'if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then curl -u ${APTLY_USER}:${APTLY_PASSWORD} -X POST ${APTLY_URL}/repos/indy-snapshots/file/${DEB_NAME}; fi'
- 'if [[ $PVERSION =~ .*SNAPSHOT$ ]]; then curl -u ${APTLY_USER}:${APTLY_PASSWORD} -X PUT -H "Content-Type: application/json" --data "{}" ${APTLY_URL}/publish/:./indy; fi'
deploy_tgcrud-webapp-public_dev:
only:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment