@@ -36,23 +36,22 @@ jobs:
3636 with :
3737 forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
3838
39- - name : " Setup Environment Variables For Build Process: ${{ env.SNAPSHOT }}"
40- if : env.SNAPSHOT == 'false'
41- id : current_version
42- run : |
43- echo "VERSION=`cat box.json | jq '.version' -r`" >> $GITHUB_ENV
44- box package set version=@build.version@+@build.number@
45- # master or snapshot
46- echo "Github Ref is $GITHUB_REF"
47- echo "BRANCH=master" >> $GITHUB_ENV
48- if [ $GITHUB_REF == 'refs/heads/development' ]
49- then
50- echo "BRANCH=development" >> $GITHUB_ENV
51- fi
39+ # - name: "Setup Environment Variables For Build Process"
40+ # id: current_version
41+ # run: |
42+ # echo "VERSION=`cat box.json | jq '.version' -r`" >> $GITHUB_ENV
43+ # box package set version=@build.version@+@build.number@
44+ # # master or snapshot
45+ # echo "Github Ref is $GITHUB_REF"
46+ # echo "BRANCH=master" >> $GITHUB_ENV
47+ # if [ $GITHUB_REF == 'refs/heads/development' ]
48+ # then
49+ # echo "BRANCH=development" >> $GITHUB_ENV
50+ # fi
5251
5352 # - name: Update changelog [unreleased] with latest version
5453 # uses: thomaseizinger/keep-a-changelog-new-release@1.3.0
55- # if: ${{ ! env.SNAPSHOT }}
54+ # if: env.SNAPSHOT == 'false'
5655 # with:
5756 # changelogPath: ./changelog.md
5857 # tag: v${{ env.VERSION }}
6463
6564 # - name: Commit Changelog To Master
6665 # uses: EndBug/add-and-commit@v9.1.1
67- # if: ${{ ! env.SNAPSHOT }}
66+ # if: env.SNAPSHOT == 'false'
6867 # with:
6968 # author_name: Github Actions
7069 # author_email: info@ortussolutions.com
7372
7473 # - name: Tag Version
7574 # uses: rickstaa/action-create-tag@v1.6.1
76- # if: ${{ ! env.SNAPSHOT }}
75+ # if: env.SNAPSHOT == 'false'
7776 # with:
7877 # tag: "v${{ env.VERSION }}"
7978 # force_push_tag: true
9594 # - name: Create Github Release
9695 # uses: taiki-e/create-gh-release-action@v1.6.2
9796 # continue-on-error: true
98- # if: ${{ ! env.SNAPSHOT }}
97+ # if: env.SNAPSHOT == 'false'
9998 # with:
10099 # title: ${{ env.VERSION }}
101100 # changelog: changelog.md
@@ -107,6 +106,7 @@ jobs:
107106 # #########################################################################################
108107 prep_next_release :
109108 name : Prep Next Release
109+ if : env.SNAPSHOT == 'false'
110110 runs-on : ubuntu-20.04
111111 needs : [ build ]
112112 steps :
@@ -116,10 +116,10 @@ jobs:
116116 with :
117117 ref : development
118118
119- - name : Setup CommandBox
120- uses : Ortus-Solutions/setup-commandbox@v2.0.1
121- with :
122- forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
119+ # - name: Setup CommandBox
120+ # uses: Ortus-Solutions/setup-commandbox@v2.0.1
121+ # with:
122+ # forgeboxAPIKey: ${{ secrets.FORGEBOX_TOKEN }}
123123
124124 # - name: Download build artifacts
125125 # uses: actions/download-artifact@v2
0 commit comments