Skip to content

Commit 7f3910f

Browse files
authored
Merge pull request #68 from polywrap/dev
prep 0.1.0a3 (attempt 1) | /workflows/release-pr
2 parents caa1858 + 9a17e3f commit 7f3910f

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ on:
77
pull_request:
88

99
jobs:
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:

scripts/patchVersion.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
function 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
}

0 commit comments

Comments
 (0)