Skip to content

Commit

Permalink
#57 asciidoc testing 4
Browse files Browse the repository at this point in the history
  • Loading branch information
cserhatit committed Mar 20, 2024
1 parent ba76890 commit 3dca7a7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ jobs:

- name: set-release-version
run: |
RELEASE_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec` && \
echo RELEASE_VERSION=${RELEASE_VERSION} && \
CURRENT_VERSION=${RELEASE_VERSION}
CURRENT_VERSION=`mvn -q -Dexec.executable="echo" -Dexec.args='${projects.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec`
# Includes the AsciiDoctor GitHub Pages Action to convert adoc files to html and publish to gh-pages branch
- name: Generate with asciidoctor image
Expand All @@ -30,5 +28,5 @@ jobs:
source_dir: docs/ # default is .
ebook_main_adoc_file: index
# slides_build: true
pre_build: CURRENT_VERSION=$(sed -rn 's/(^VERSION=)([^-]+)(-SNAPSHOT|)$/\2/p' .env)
# pre_build:
# post_build:

0 comments on commit 3dca7a7

Please sign in to comment.