Skip to content

Commit 10903ce

Browse files
committed
changed conditional in yaml to check main branch first, incremented version to patch version: 1.0.1
1 parent 72e0dc5 commit 10903ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ steps:
4848
echo ">>> Publish"
4949
npm run deploy
5050
displayName: Publish
51-
condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['Build.SourceBranch'], 'refs/heads/main')), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'MacOS')))
51+
condition: and(succeeded(), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/tags/')), or(eq(variables['Agent.OS'], 'Linux'), eq(variables['Agent.OS'], 'MacOS')))
5252
env:
5353
VSCE_PAT: $(VSCE_PAT)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-labyrinth",
33
"displayName": "React Labyrinth",
44
"description": "React Component Type hierarchy tree visualization tool",
5-
"version": "1.0.0",
5+
"version": "1.0.1",
66
"icon": "./media/reactLabyrinthFinal.png",
77
"publisher": "react-labyrinth",
88
"preview": false,

0 commit comments

Comments
 (0)