Skip to content
Snippets Groups Projects
Commit 51149bf2 authored by Andreas Maier's avatar Andreas Maier
Browse files

removed release step

parent a90ed38d
No related branches found
No related tags found
No related merge requests found
Pipeline #11009 failed
......@@ -51,33 +51,33 @@ build:
- drugstone
# - check:test
deploy:release:
image: alpine/git
stage: deploy
when: manual
variables:
GITHUB_TOKEN: "$DRUGSTONE_DEPLOY_KEY"
dependencies:
- build
before_script:
- APP_NAME=drugstone
- ERSION_NAME="v9.0.1"
- FILENAME="$APP_NAME-v$VERSION_NAME"
- TAG="v{VERSION_NAME}
- TAG="latest-master"
script:
- echo $APP_NAME
- echo $VERSION_NAME
- echo $FILENAME
- echo $TAG
- mv drugstone-build/* ./
- mv styles.css drugstone.css
- git clone https://github.com/AndiMajore/drugstone-releases.git
- cd releases
- gh release delete $TAG
- gh release create -a ../$APP_NAME.* -m "Latest release of drugsTone $FILENAME -p $TAG"
tags:
- drugstone
#deploy:release:
# image: alpine/git
# stage: deploy
# when: manual
# variables:
# GITHUB_TOKEN: "$DRUGSTONE_DEPLOY_KEY"
# dependencies:
# - build
# before_script:
# - APP_NAME=drugstone
# - ERSION_NAME="v9.0.1"
# - FILENAME="$APP_NAME-v$VERSION_NAME"
# - TAG="v{VERSION_NAME}
# - TAG="latest-master"
# script:
# - echo $APP_NAME
# - echo $VERSION_NAME
# - echo $FILENAME
# - echo $TAG
# - mv drugstone-build/* ./
# - mv styles.css drugstone.css
# - git clone https://github.com/AndiMajore/drugstone-releases.git
# - cd releases
# - gh release delete $TAG
# - gh release create -a ../$APP_NAME.* -m "Latest release of drugsTone $FILENAME -p $TAG"
# tags:
# - drugstone
deploy:dev:
image: docker
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment