Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AngelGuide
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Himmel
AngelGuide
Commits
b2874f25
Commit
b2874f25
authored
5 years ago
by
Chessmaster
Browse files
Options
Downloads
Patches
Plain Diff
added dollar signs for variables
parent
928a7ccd
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!7
Tagging PDFs before publishing
Pipeline
#23713
passed
5 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+5
-4
5 additions, 4 deletions
.gitlab-ci.yml
with
5 additions
and
4 deletions
.gitlab-ci.yml
+
5
−
4
View file @
b2874f25
...
...
@@ -2,7 +2,7 @@ stages:
-
build
-
publish
build_
_
tagged_guide
:
build_tagged_guide
:
stage
:
build
image
:
alpine
script
:
...
...
@@ -21,7 +21,7 @@ build__tagged_guide:
-
master
-
tags
build_
_tagged_
guide
:
build_guide
:
stage
:
build
image
:
alpine
script
:
...
...
@@ -29,8 +29,9 @@ build__tagged_guide:
-
apk add ruby asciidoctor
-
gem install asciidoctor-pdf --pre
-
export COMMIT_TIME=$(git show -s --format=%ci $CI_COMMIT_SHA | cut -c1-10)
-
asciidoctor-pdf -a revnumber=CI_COMMIT_SHORT_SHA -a revdate=$COMMIT_TIME -o angelguide_en.pdf guide.adoc
-
asciidoctor-pdf -a lang=de -a revnumber=CI_COMMIT_SHORT_SHA -a revdate=$COMMIT_TIME -o angelguide_de.pdf guide.adoc
-
echo $COMMIT_TIME
-
asciidoctor-pdf -a revnumber=$CI_COMMIT_SHORT_SHA -a revdate=$COMMIT_TIME -o angelguide_en.pdf guide.adoc
-
asciidoctor-pdf -a lang=de -a revnumber=$CI_COMMIT_SHORT_SHA -a revdate=$COMMIT_TIME -o angelguide_de.pdf guide.adoc
artifacts
:
paths
:
-
"
angelguide_en.pdf"
...
...
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