File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88
99jobs :
10+ skip :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Skip
14+ run : exit 1
1015 getPackages :
1116 runs-on : ubuntu-latest
17+ needs :
18+ - skip
1219 outputs :
1320 matrix : ${{ env.matrix }}
1421 steps :
Original file line number Diff line number Diff line change 11function patchVersion() {
22 local package=$1
33 local version=$2
4- local depsArr=$3 [@]
5- local deps=(" ${! depsArr} " )
4+ if [ -z " $3 " ]; then
5+ local deps=()
6+ else
7+ local depsArr=$3 [@]
8+ local deps=(" ${! depsArr} " )
9+ fi
10+
11+ echo " deps: ${deps[@]} "
612
713 local pwd=$( echo $PWD )
814
@@ -28,6 +34,7 @@ function publishPackage() {
2834 local pwd=$( echo $PWD )
2935
3036 cd packages/$package
37+ poetry version
3138 poetry publish --build --username $username --password $password
3239 cd $pwd
3340}
You can’t perform that action at this time.
0 commit comments