Skip to content

Commit a0e5ab7

Browse files
committed
Enable pubhlishing snapshots and bump version
1 parent 9add75e commit a0e5ab7

3 files changed

Lines changed: 56 additions & 57 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ jobs:
106106
DEST_DIR: "ortussolutions/coldbox-modules/${{ env.MODULE_ID }}"
107107

108108
- name: Publish To ForgeBox
109-
if: env.SNAPSHOT == 'false'
110109
run: |
111110
cd .tmp/${{ env.MODULE_ID }}
112111
cat box.json

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
##########################################################################################
3838
release:
3939
uses: ./.github/workflows/release.yml
40-
needs: [ format ]
40+
needs: [ tests, format ]
4141
secrets: inherit
4242
with:
4343
snapshot: true

box.json

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,69 @@
11
{
2-
"name":"cbsso",
3-
"version":"2.2.0",
4-
"location":"https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbsso/@build.version@/cbsso-@build.version@.zip",
5-
"author":"Ortus Solutions <info@ortussolutions.com>",
6-
"homepage":"https://github.com/coldbox-modules/cbsso",
7-
"documentation":"https://github.com/coldbox-modules/cbsso",
8-
"repository":{
9-
"type":"git",
10-
"url":"https://github.com/coldbox-modules/cbsso"
2+
"name": "cbsso",
3+
"version": "3.0.0",
4+
"location": "https://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbsso/@build.version@/cbsso-@build.version@.zip",
5+
"author": "Ortus Solutions <info@ortussolutions.com>",
6+
"homepage": "https://github.com/coldbox-modules/cbsso",
7+
"documentation": "https://github.com/coldbox-modules/cbsso",
8+
"repository": {
9+
"type": "git",
10+
"url": "https://github.com/coldbox-modules/cbsso"
1111
},
12-
"bugs":"https://github.com/coldbox-modules/cbsso",
13-
"shortDescription":"Description goes here",
14-
"slug":"cbsso",
15-
"type":"modules",
16-
"keywords":"",
17-
"license":[
12+
"bugs": "https://github.com/coldbox-modules/cbsso",
13+
"shortDescription": "Description goes here",
14+
"slug": "cbsso",
15+
"type": "modules",
16+
"keywords": "",
17+
"license": [
1818
{
19-
"type":"Apache2",
20-
"url":"http://www.apache.org/licenses/LICENSE-2.0.html"
19+
"type": "Apache2",
20+
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
2121
}
2222
],
23-
"contributors":[],
24-
"dependencies":{
25-
"hyper":"^7.2.1",
26-
"jwt-cfml":"^1.2.0",
27-
"cbjavaloader":"^2.1.1+8"
23+
"contributors": [],
24+
"dependencies": {
25+
"hyper": "^7.2.1",
26+
"jwt-cfml": "^1.2.0",
27+
"cbjavaloader": "^2.1.1+8"
2828
},
29-
"devDependencies":{
30-
"commandbox-cfformat":"*",
31-
"commandbox-docbox":"*",
32-
"commandbox-dotenv":"*",
33-
"commandbox-cfconfig":"*",
34-
"bx-esapi":"^1.6.0+9"
29+
"devDependencies": {
30+
"commandbox-cfformat": "*",
31+
"commandbox-docbox": "*",
32+
"commandbox-dotenv": "*",
33+
"commandbox-cfconfig": "*",
34+
"bx-esapi": "^1.6.0+9"
3535
},
36-
"ignore":[
36+
"ignore": [
3737
"**/.*",
3838
"test-harness",
3939
"/server*.json"
4040
],
41-
"scripts":{
42-
"setupTemplate":"task run taskFile=build/SetupTemplate.cfc",
43-
"build:module":"task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
44-
"build:docs":"task run taskFile=build/Build.cfc target=docs :projectName=`package show slug` :version=`package show version`",
45-
"install:dependencies":"install && cd test-harness && install",
46-
"release":"recipe build/release.boxr",
47-
"format":"cfformat run helpers,models,test-harness/tests/,ModuleConfig.cfc --overwrite",
48-
"format:watch":"cfformat watch helpers,models,test-harness/tests/,ModuleConfig.cfc ./.cfformat.json",
49-
"format:check":"cfformat check helpers,models,test-harness/tests/,ModuleConfig.cfc ./.cfformat.json",
50-
"start:lucee":"server start serverConfigFile=server-lucee@5.json",
51-
"start:2018":"server start serverConfigFile=server-adobe@2018.json",
52-
"start:2021":"server start serverConfigFile=server-adobe@2021.json",
53-
"stop:lucee":"server stop serverConfigFile=server-lucee@5.json",
54-
"stop:2018":"server stop serverConfigFile=server-adobe@2018.json",
55-
"stop:2021":"server stop serverConfigFile=server-adobe@2021.json",
56-
"logs:lucee":"server log serverConfigFile=server-lucee@5.json --follow",
57-
"logs:2018":"server log serverConfigFile=server-adobe@2018.json --follow",
58-
"logs:2021":"server log serverConfigFile=server-adobe@2021.json --follow"
41+
"scripts": {
42+
"setupTemplate": "task run taskFile=build/SetupTemplate.cfc",
43+
"build:module": "task run taskFile=build/Build.cfc :projectName=`package show slug` :version=`package show version`",
44+
"build:docs": "task run taskFile=build/Build.cfc target=docs :projectName=`package show slug` :version=`package show version`",
45+
"install:dependencies": "install && cd test-harness && install",
46+
"release": "recipe build/release.boxr",
47+
"format": "cfformat run helpers,models,test-harness/tests/,ModuleConfig.cfc --overwrite",
48+
"format:watch": "cfformat watch helpers,models,test-harness/tests/,ModuleConfig.cfc ./.cfformat.json",
49+
"format:check": "cfformat check helpers,models,test-harness/tests/,ModuleConfig.cfc ./.cfformat.json",
50+
"start:lucee": "server start serverConfigFile=server-lucee@5.json",
51+
"start:2018": "server start serverConfigFile=server-adobe@2018.json",
52+
"start:2021": "server start serverConfigFile=server-adobe@2021.json",
53+
"stop:lucee": "server stop serverConfigFile=server-lucee@5.json",
54+
"stop:2018": "server stop serverConfigFile=server-adobe@2018.json",
55+
"stop:2021": "server stop serverConfigFile=server-adobe@2021.json",
56+
"logs:lucee": "server log serverConfigFile=server-lucee@5.json --follow",
57+
"logs:2018": "server log serverConfigFile=server-adobe@2018.json --follow",
58+
"logs:2021": "server log serverConfigFile=server-adobe@2021.json --follow"
5959
},
60-
"testbox":{
61-
"runner":"http://localhost:9181/tests/runner.cfm"
60+
"testbox": {
61+
"runner": "http://localhost:9181/tests/runner.cfm"
6262
},
63-
"installPaths":{
64-
"hyper":"modules/hyper/",
65-
"jwt-cfml":"modules/jwtcfml/",
66-
"cbjavaloader":"modules/cbjavaloader/",
67-
"bx-esapi":".engine/boxlang/WEB-INF/boxlang/modules/bx-esapi/"
63+
"installPaths": {
64+
"hyper": "modules/hyper/",
65+
"jwt-cfml": "modules/jwtcfml/",
66+
"cbjavaloader": "modules/cbjavaloader/",
67+
"bx-esapi": ".engine/boxlang/WEB-INF/boxlang/modules/bx-esapi/"
6868
}
69-
}
69+
}

0 commit comments

Comments
 (0)