Skip to content

Commit ab13dd2

Browse files
Merge pull request #118 from gjsjohnmurray/pre-CI-publish-by-branch5
CI publish - lookup taggedbranch output correctly
2 parents 3677e56 + f73e44d commit ab13dd2

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
if: github.event_name == 'release' && runner.os == 'Windows'
3636
shell: bash
3737
run: |
38-
git branch --list | cat
3938
git fetch --depth=1 origin +refs/heads/*:refs/heads/*
40-
git branch --list -v | cat
4139
set -x
4240
TAGGEDBRANCH=$(git for-each-ref --points-at=${{github.sha}} --format='%(refname:lstrip=2)' refs/heads/)
4341
echo ::set-output name=taggedbranch::$TAGGEDBRANCH
@@ -114,7 +112,7 @@ jobs:
114112
asset_content_type: application/zip
115113
publish:
116114
needs: build
117-
if: github.event_name == 'release' && needs.find-branch.outputs.taggedbranch == 'master'
115+
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'master'
118116
runs-on: windows-latest
119117
steps:
120118
- uses: actions/checkout@v2

.github/workflows/prerelease.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
if: github.event_name == 'release' && runner.os == 'Windows'
3636
shell: bash
3737
run: |
38-
git branch --list | cat
3938
git fetch --depth=1 origin +refs/heads/*:refs/heads/*
40-
git branch --list -v | cat
4139
set -x
4240
TAGGEDBRANCH=$(git for-each-ref --points-at=${{github.sha}} --format='%(refname:lstrip=2)' refs/heads/)
4341
echo ::set-output name=taggedbranch::$TAGGEDBRANCH
@@ -116,7 +114,7 @@ jobs:
116114
asset_content_type: application/zip
117115
publish:
118116
needs: build
119-
if: github.event_name == 'release' && needs.find-branch.outputs.taggedbranch == 'prerelease'
117+
if: github.event_name == 'release' && needs.build.outputs.taggedbranch == 'prerelease'
120118
runs-on: windows-latest
121119
steps:
122120
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 3.1.2022012606 (26-Jan-2022 pre-release)
1+
## 3.1.2022012607 (26-Jan-2022 pre-release)
22
* Update README.
33
* Automate pre-release publication to Marketplace.
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "servermanager",
33
"displayName": "InterSystems Server Manager",
4-
"version": "3.1.2022012606",
4+
"version": "3.1.2022012607",
55
"preview": true,
66
"publisher": "intersystems-community",
77
"description": "Define connections to InterSystems servers. Browse and manage those servers.",

0 commit comments

Comments
 (0)