Skip to content

Commit a630da8

Browse files
committed
tests
1 parent e2ecbd0 commit a630da8

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
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
5251

5352
# - name: Update changelog [unreleased] with latest version
5453
# uses: thomaseizinger/[email protected]
55-
# if: ${{ !env.SNAPSHOT }}
54+
# if: env.SNAPSHOT == 'false'
5655
# with:
5756
# changelogPath: ./changelog.md
5857
# tag: v${{ env.VERSION }}
@@ -64,7 +63,7 @@ jobs:
6463

6564
# - name: Commit Changelog To Master
6665
# uses: EndBug/[email protected]
67-
# if: ${{ !env.SNAPSHOT }}
66+
# if: env.SNAPSHOT == 'false'
6867
# with:
6968
# author_name: Github Actions
7069
# author_email: [email protected]
@@ -73,7 +72,7 @@ jobs:
7372

7473
# - name: Tag Version
7574
# uses: rickstaa/[email protected]
76-
# if: ${{ !env.SNAPSHOT }}
75+
# if: env.SNAPSHOT == 'false'
7776
# with:
7877
# tag: "v${{ env.VERSION }}"
7978
# force_push_tag: true
@@ -95,7 +94,7 @@ jobs:
9594
# - name: Create Github Release
9695
# uses: taiki-e/[email protected]
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/[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 }}
123123

124124
# - name: Download build artifacts
125125
# uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)