@@ -36,23 +36,22 @@ jobs:
36
36
with :
37
37
forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
38
38
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
-
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
+
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
52
51
53
52
# - name: Update changelog [unreleased] with latest version
54
53
# uses: thomaseizinger/[email protected]
55
- # if: ${{ ! env.SNAPSHOT }}
54
+ # if: env.SNAPSHOT == 'false'
56
55
# with:
57
56
# changelogPath: ./changelog.md
58
57
# tag: v${{ env.VERSION }}
64
63
65
64
# - name: Commit Changelog To Master
66
65
67
- # if: ${{ ! env.SNAPSHOT }}
66
+ # if: env.SNAPSHOT == 'false'
68
67
# with:
69
68
# author_name: Github Actions
70
69
73
72
74
73
# - name: Tag Version
75
74
# uses: rickstaa/[email protected]
76
- # if: ${{ ! env.SNAPSHOT }}
75
+ # if: env.SNAPSHOT == 'false'
77
76
# with:
78
77
# tag: "v${{ env.VERSION }}"
79
78
# force_push_tag: true
95
94
# - name: Create Github Release
96
95
97
96
# continue-on-error: true
98
- # if: ${{ ! env.SNAPSHOT }}
97
+ # if: env.SNAPSHOT == 'false'
99
98
# with:
100
99
# title: ${{ env.VERSION }}
101
100
# changelog: changelog.md
@@ -107,6 +106,7 @@ jobs:
107
106
# #########################################################################################
108
107
prep_next_release :
109
108
name : Prep Next Release
109
+ if : env.SNAPSHOT == 'false'
110
110
runs-on : ubuntu-20.04
111
111
needs : [ build ]
112
112
steps :
@@ -116,10 +116,10 @@ jobs:
116
116
with :
117
117
ref : development
118
118
119
- - name : Setup CommandBox
120
- uses :
Ortus-Solutions/[email protected]
121
- with :
122
- forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
119
+ # - name: Setup CommandBox
120
+ # uses: Ortus-Solutions/[email protected]
121
+ # with:
122
+ # forgeboxAPIKey: ${{ secrets.FORGEBOX_TOKEN }}
123
123
124
124
# - name: Download build artifacts
125
125
# uses: actions/download-artifact@v2
0 commit comments