Skip to content
Snippets Groups Projects
Commit 1d997607 authored by AndiMajore's avatar AndiMajore
Browse files

Merge branch 'master' of gitlab.lrz.de:netex/frontend

parents 1794b117 51149bf2
No related branches found
No related tags found
No related merge requests found
Pipeline #11010 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
......
......@@ -30,3 +30,12 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C
## Create exportable js and css
`npm run build:netex`
## Create and release js and css
`cd releases && ./release_tag.sh $VERSION $MESSAGE`
e.g.
`cd releases && ./release_tag.sh 0.9.4-beta "This release features new layouting"`
## Delete release from repository
`cd releases && ./delete_tag.sh $VERSION`
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