Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analyst WebApp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fidentis
Analyst WebApp
Commits
4cc13e1c
There was an error fetching the commit references. Please try again later.
Commit
4cc13e1c
authored
3 years ago
by
Radek Ošlejšek
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
a1f16612
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+31
-31
31 additions, 31 deletions
.gitlab-ci.yml
with
31 additions
and
31 deletions
.gitlab-ci.yml
+
31
−
31
View file @
4cc13e1c
...
...
@@ -12,7 +12,7 @@ stages:
-
test
-
document
-
upload
-
release
#
- release
# Builds code and generates documentation
build
:
...
...
@@ -94,34 +94,34 @@ upload:
when
:
never
# Make Gitlab release when a new version is uploaded:
release
:
stage
:
release
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
tags
:
-
shared-fi
needs
:
-
job
:
upload
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
==
"master"'
changes
:
-
VERSION.txt
-
if
:
'
$CI_COMMIT_BRANCH'
when
:
never
script
:
-
export VERSION=$(grep -oP '^([^\s]*)' $DEPLOYMENT_INFO_VERSION_FILE)
-
export TAG_MESSAGE=$(grep -oP '(?<=\s)[^\s].*' $DEPLOYMENT_INFO_VERSION_FILE)
release
:
name
:
'
Release
$VERSION'
description
:
'
Created
using
the
release-cli
$TAG_MESSAGE'
tag_name
:
'
$VERSION'
ref
:
'
$VERSION'
# milestones:
assets
:
links
:
-
name
:
'
Application'
url
:
'
https://radek-oslejsek.cz/download/fidentis-analyst/FIDENTIS-Analyst-app-$VERSION.zip'
-
name
:
'
Data'
url
:
'
https://radek-oslejsek.cz/download/fidentis-analyst/FIDENTIS-Analyst-data.zip'
-
name
:
'
Documentation'
url
:
'
https://www.radek-oslejsek.cz/download/fidentis-analyst/apidocs/index.html'
#
release:
#
stage: release
#
image: registry.gitlab.com/gitlab-org/release-cli:latest
#
tags:
#
- shared-fi
#
needs:
#
- job: upload
#
rules:
#
- if: '$CI_COMMIT_BRANCH == "master"'
#
changes:
#
- VERSION.txt
#
- if: '$CI_COMMIT_BRANCH'
#
when: never
#
script:
#
- export VERSION=$(grep -oP '^([^\s]*)' $DEPLOYMENT_INFO_VERSION_FILE)
#
- export TAG_MESSAGE=$(grep -oP '(?<=\s)[^\s].*' $DEPLOYMENT_INFO_VERSION_FILE)
#
release:
#
name: 'Release $VERSION'
#
description: 'Created using the release-cli $TAG_MESSAGE'
#
tag_name: '$VERSION'
#
ref: '$VERSION'
#
# milestones:
#
assets:
#
links:
#
- name: 'Application'
#
url: 'https://radek-oslejsek.cz/download/fidentis-analyst/FIDENTIS-Analyst-app-$VERSION.zip'
#
- name: 'Data'
#
url: 'https://radek-oslejsek.cz/download/fidentis-analyst/FIDENTIS-Analyst-data.zip'
#
- name: 'Documentation'
#
url: 'https://www.radek-oslejsek.cz/download/fidentis-analyst/apidocs/index.html'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment