Skip to content

Commit d72ec93

Browse files
committed
Run release in //
1 parent fea9449 commit d72ec93

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

.github/workflows/beta-release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ on:
77
jobs:
88
trigger-circleci:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
distribution:
13+
- stretch
14+
- buster
15+
- xenial
16+
- artful
17+
- bionic
18+
- cosmic
19+
- disco
20+
- eoan
21+
- focal
22+
- centos_7
23+
- centos_8
1024
steps:
1125
-
1226
name: Set version
@@ -22,6 +36,7 @@ jobs:
2236
name: Trigger Circle CI API
2337
env:
2438
CIRCLE_API_TOKEN: ${{ secrets.CIRCLE_API_TOKEN }}
39+
DISTRIBUTION: ${{ matrix.distribution }}
2540
run: >
2641
curl --request POST
2742
--url https://circleci.com/api/v2/project/github/jolicode/redirection.io/pipeline
@@ -37,7 +52,8 @@ jobs:
3752
\"release_env\": \"production\",
3853
\"release_channel\": \"beta\",
3954
\"release_main_version_dir\": \"$MAJOR_VERSION\",
40-
\"release_nginx_module_version\": \"$VERSION\"
55+
\"release_nginx_module_version\": \"$VERSION\",
56+
\"release_distribution\": \"$DISTRIBUTION\"
4157
}
4258
}
4359
"

.github/workflows/stable-release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@ on:
77
jobs:
88
trigger-circleci:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
distribution:
13+
- stretch
14+
- buster
15+
- xenial
16+
- artful
17+
- bionic
18+
- cosmic
19+
- disco
20+
- eoan
21+
- focal
22+
- centos_7
23+
- centos_8
1024
steps:
1125
-
1226
name: Set version
@@ -22,6 +36,7 @@ jobs:
2236
name: Trigger Circle CI API
2337
env:
2438
CIRCLE_API_TOKEN: ${{ secrets.CIRCLE_API_TOKEN }}
39+
DISTRIBUTION: ${{ matrix.distribution }}
2540
run: >
2641
curl --request POST
2742
--url https://circleci.com/api/v2/project/github/jolicode/redirection.io/pipeline
@@ -37,7 +52,8 @@ jobs:
3752
\"release_env\": \"production\",
3853
\"release_channel\": \"stable\",
3954
\"release_main_version_dir\": \"$MAJOR_VERSION\",
40-
\"release_nginx_module_version\": \"$VERSION\"
55+
\"release_nginx_module_version\": \"$VERSION\",
56+
\"release_distribution\": \"$DISTRIBUTION\"
4157
}
4258
}
4359
"

0 commit comments

Comments
 (0)