Skip to content

Commit d66aec2

Browse files
committed
debug: release
1 parent 89a4857 commit d66aec2

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

.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:

.github/workflows/release-pr.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
# name: Release-PR
2+
# on:
3+
# pull_request:
4+
# types: [closed]
15
name: Release-PR
26
on:
37
pull_request:
4-
types: [closed]
58

69
jobs:
710
Pre-Check:

scripts/patchVersion.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ function patchVersion() {
77
local pwd=$(echo $PWD)
88

99
cd packages/$package
10+
echo "Patching $package to version $version"
1011
poetry version $version
1112
if [ "${#deps[@]}" -ne "0" ]; then
1213
if [ "${deps[0]}" != "" ]; then
@@ -28,6 +29,7 @@ function publishPackage() {
2829
local pwd=$(echo $PWD)
2930

3031
cd packages/$package
32+
poetry version
3133
poetry publish --build --username $username --password $password
3234
cd $pwd
3335
}

0 commit comments

Comments
 (0)