Skip to content

Commit

Permalink
more fixes to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
lmajano committed Sep 27, 2023
1 parent f6fdc37 commit 5d10242
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,13 @@ jobs:

- name: Build ColdBox Variants for ${{ env.BRANCH }} v${{ env.COLDBOX_VERSION }}
run: |
# Fix changelog markdown
npm install -g markdownlint-cli
markdownlint changelog.md --fix
# Startup the server for API Docs mostly.
box server start serverConfigFile="[email protected]" --debug
box task run build/Build.cfc /
${{ env.COLDBOX_VERSION }} / # version
${{ github.run_number }} / # build number
${{ env.BRANCH }} # branch
# Run the task
box task run build/Build.cfc ${{ env.COLDBOX_VERSION }} ${{ github.run_number }} ${{ env.BRANCH }}
- name: Commit Changelog [unreleased] with latest version
uses: EndBug/[email protected]
Expand Down Expand Up @@ -138,10 +138,10 @@ jobs:
- name: Publish
run: |
ROOT_DIR=`pwd`
cd $ROOT_DIR/artifacts/coldbox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/artifacts/cachebox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/artifacts/wirebox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/artifacts/logbox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/.artifacts/coldbox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/.artifacts/cachebox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/.artifacts/wirebox/${{ env.COLDBOX_VERSION }} && box forgebox publish
cd $ROOT_DIR/.artifacts/logbox/${{ env.COLDBOX_VERSION }} && box forgebox publish
- name: Create Github Release
uses: taiki-e/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion build/Build.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ component {
var libRecord = variables.libraries[ arguments.library ];
var libArtifactDir = ensureExportDir( arguments.library, version );
var libBuildDir = variables[ arguments.library & "buildDir" ];
var libApiDocsDir = variables[ library & "apiDocsDir" ];
var libApiDocsDir = variables[ library & "apiDocsDir" ] & "/#version#/";
var docsUrl = "#variables.apiDocs#/#arguments.library#.cfm?" &
"version=#version#&" &
"path=#urlEncodedFormat( libApiDocsDir )#&" &
Expand Down

0 comments on commit 5d10242

Please sign in to comment.