43
43
forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
44
44
45
45
- name : Setup Environment Variables For Build Process
46
+ if : ${{ !env.SNAPSHOT }}
46
47
id : current_version
47
48
run : |
48
49
echo "VERSION=`cat box.json | jq '.version' -r`" >> $GITHUB_ENV
@@ -55,57 +56,57 @@ jobs:
55
56
echo "BRANCH=development" >> $GITHUB_ENV
56
57
fi
57
58
58
- - name : Update changelog [unreleased] with latest version
59
- uses :
thomaseizinger/[email protected]
60
- if : ${{ !env.SNAPSHOT }}
61
- with :
62
- changelogPath : ./changelog.md
63
- tag : v${{ env.VERSION }}
64
-
65
- - name : Build ${{ env.MODULE_ID }}
66
- run : |
67
- box install commandbox-docbox
68
- box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }}
69
-
70
- - name : Commit Changelog To Master
71
-
72
- if : ${{ !env.SNAPSHOT }}
73
- with :
74
- author_name : Github Actions
75
-
76
- message : ' Finalized changelog for v${{ env.VERSION }}'
77
- add : changelog.md
78
-
79
- - name : Tag Version
80
-
81
- if : ${{ !env.SNAPSHOT }}
82
- with :
83
- tag : " v${{ env.VERSION }}"
84
- force_push_tag : true
85
- message : " Latest Release v${{ env.VERSION }}"
86
-
87
- - name : Upload Build Artifacts
88
- if : success()
89
- uses : actions/upload-artifact@v3
90
- with :
91
- name : ${{ env.MODULE_ID }}
92
- path : |
93
- .artifacts/**/*
94
- changelog.md
95
-
96
- - name : Publish To ForgeBox
97
- run : |
98
- cd .tmp/${{ env.MODULE_ID }} && box forgebox publish --force
99
-
100
- - name : Create Github Release
101
-
102
- continue-on-error : true
103
- if : ${{ !env.SNAPSHOT }}
104
- with :
105
- title : ${{ env.VERSION }}
106
- changelog : changelog.md
107
- token : ${{ secrets.GITHUB_TOKEN }}
108
- ref : refs/tags/v${{ env.VERSION }}
59
+ # - name: Update changelog [unreleased] with latest version
60
+ # uses: thomaseizinger/[email protected]
61
+ # if: ${{ !env.SNAPSHOT }}
62
+ # with:
63
+ # changelogPath: ./changelog.md
64
+ # tag: v${{ env.VERSION }}
65
+
66
+ # - name: Build ${{ env.MODULE_ID }}
67
+ # run: |
68
+ # box install commandbox-docbox
69
+ # box task run taskfile=build/Build target=run :version=${{ env.VERSION }} :projectName=${{ env.MODULE_ID }} :buildID=${{ github.run_number }} :branch=${{ env.BRANCH }}
70
+
71
+ # - name: Commit Changelog To Master
72
+
73
+ # if: ${{ !env.SNAPSHOT }}
74
+ # with:
75
+ # author_name: Github Actions
76
+
77
+ # message: 'Finalized changelog for v${{ env.VERSION }}'
78
+ # add: changelog.md
79
+
80
+ # - name: Tag Version
81
+ # uses: rickstaa/[email protected]
82
+ # if: ${{ !env.SNAPSHOT }}
83
+ # with:
84
+ # tag: "v${{ env.VERSION }}"
85
+ # force_push_tag: true
86
+ # message: "Latest Release v${{ env.VERSION }}"
87
+
88
+ # - name: Upload Build Artifacts
89
+ # if: success()
90
+ # uses: actions/upload-artifact@v3
91
+ # with:
92
+ # name: ${{ env.MODULE_ID }}
93
+ # path: |
94
+ # .artifacts/**/*
95
+ # changelog.md
96
+
97
+ # - name: Publish To ForgeBox
98
+ # run: |
99
+ # cd .tmp/${{ env.MODULE_ID }} && box forgebox publish --force
100
+
101
+ # - name: Create Github Release
102
+
103
+ # continue-on-error: true
104
+ # if: ${{ !env.SNAPSHOT }}
105
+ # with:
106
+ # title: ${{ env.VERSION }}
107
+ # changelog: changelog.md
108
+ # token: ${{ secrets.GITHUB_TOKEN }}
109
+ # ref: refs/tags/v${{ env.VERSION }}
109
110
110
111
# #########################################################################################
111
112
# Prep Next Release
@@ -126,29 +127,29 @@ jobs:
126
127
with :
127
128
forgeboxAPIKey : ${{ secrets.FORGEBOX_TOKEN }}
128
129
129
- - name : Download build artifacts
130
- uses : actions/download-artifact@v2
131
- with :
132
- name : ${{ env.MODULE_ID }}
133
- path : .tmp
134
-
135
- # Copy the changelog to the development branch
136
- - name : Copy Changelog
137
- run : |
138
- cp .tmp/changelog.md changelog.md
139
-
140
- # Bump to next version
141
- - name : Bump Version
142
- run : |
143
- box bump --minor --!TagVersion
144
-
145
- # Commit it back to development
146
- - name : Commit Version Bump
147
-
148
- with :
149
- author_name : Github Actions
150
-
151
- message : ' Version bump'
152
- add : |
153
- box.json
154
- changelog.md
130
+ # - name: Download build artifacts
131
+ # uses: actions/download-artifact@v2
132
+ # with:
133
+ # name: ${{ env.MODULE_ID }}
134
+ # path: .tmp
135
+
136
+ # # Copy the changelog to the development branch
137
+ # - name: Copy Changelog
138
+ # run: |
139
+ # cp .tmp/changelog.md changelog.md
140
+
141
+ # # Bump to next version
142
+ # - name: Bump Version
143
+ # run: |
144
+ # box bump --minor --!TagVersion
145
+
146
+ # # Commit it back to development
147
+ # - name: Commit Version Bump
148
+
149
+ # with:
150
+ # author_name: Github Actions
151
+
152
+ # message: 'Version bump'
153
+ # add: |
154
+ # box.json
155
+ # changelog.md
0 commit comments