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: ...@@ -51,33 +51,33 @@ build:
- drugstone - drugstone
# - check:test # - check:test
deploy:release: #deploy:release:
image: alpine/git # image: alpine/git
stage: deploy # stage: deploy
when: manual # when: manual
variables: # variables:
GITHUB_TOKEN: "$DRUGSTONE_DEPLOY_KEY" # GITHUB_TOKEN: "$DRUGSTONE_DEPLOY_KEY"
dependencies: # dependencies:
- build # - build
before_script: # before_script:
- APP_NAME=drugstone # - APP_NAME=drugstone
- ERSION_NAME="v9.0.1" # - ERSION_NAME="v9.0.1"
- FILENAME="$APP_NAME-v$VERSION_NAME" # - FILENAME="$APP_NAME-v$VERSION_NAME"
- TAG="v{VERSION_NAME} # - TAG="v{VERSION_NAME}
- TAG="latest-master" # - TAG="latest-master"
script: # script:
- echo $APP_NAME # - echo $APP_NAME
- echo $VERSION_NAME # - echo $VERSION_NAME
- echo $FILENAME # - echo $FILENAME
- echo $TAG # - echo $TAG
- mv drugstone-build/* ./ # - mv drugstone-build/* ./
- mv styles.css drugstone.css # - mv styles.css drugstone.css
- git clone https://github.com/AndiMajore/drugstone-releases.git # - git clone https://github.com/AndiMajore/drugstone-releases.git
- cd releases # - cd releases
- gh release delete $TAG # - gh release delete $TAG
- gh release create -a ../$APP_NAME.* -m "Latest release of drugsTone $FILENAME -p $TAG" # - gh release create -a ../$APP_NAME.* -m "Latest release of drugsTone $FILENAME -p $TAG"
tags: # tags:
- drugstone # - drugstone
deploy:dev: deploy:dev:
image: docker image: docker
......
...@@ -30,3 +30,12 @@ To get more help on the Angular CLI use `ng help` or go check out the [Angular C ...@@ -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 ## Create exportable js and css
`npm run build:netex` `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