@@ -2,11 +2,11 @@ name: Publish release
2
2
3
3
on :
4
4
pull_request :
5
- types :
6
- - closed
7
- branches :
8
- - release/**
9
- - prerelease/**
5
+ # types:
6
+ # - closed
7
+ # branches:
8
+ # - release/**
9
+ # - prerelease/**
10
10
11
11
jobs :
12
12
release :
@@ -24,64 +24,69 @@ jobs:
24
24
- id : get-title-prefix
25
25
run : echo "prefix=$([ ${{ startsWith(github.head_ref, 'prerelease/') }} ] && echo 'Prerelease' || echo 'Release')" >> "$GITHUB_OUTPUT"
26
26
27
- - name : Use Node 22
28
- uses : actions/setup-node@v3
29
- with :
30
- node-version : 22
27
+ - name : Test gets
28
+ run : |
29
+ echo ${{ steps.get-version.outputs.version }}
30
+ echo ${{ steps.get-title-prefix.outputs.prefix }}
31
31
32
- - name : Install the latest version of uv
33
- uses : astral-sh /setup-uv @v3
34
- with :
35
- version : ' latest '
32
+ # - name: Use Node 22
33
+ # uses: actions /setup-node @v3
34
+ # with:
35
+ # node- version: 22
36
36
37
- - name : Install just
38
- uses : extractions/setup-just@v2
37
+ # - name: Install the latest version of uv
38
+ # uses: astral-sh/setup-uv@v3
39
+ # with:
40
+ # version: 'latest'
39
41
40
- - name : Install JS dependencies
41
- run : npm ci
42
+ # - name: Install just
43
+ # uses: extractions/setup-just@v2
44
+
45
+ # - name: Install JS dependencies
46
+ # run: npm ci
42
47
43
48
- name : Update docs requirements
44
- run : just _set-docs-version ${{ steps.get-version.outputs.version }}
49
+ run : echo "Triggered"
45
50
if : ${{ startswith(github.head_ref, 'release/') }}
46
51
47
- - name : Build dash-bootstrap-components
48
- run : just build
49
-
50
- - uses : JS-DevTools/npm-publish@v1
51
- with :
52
- token : ${{ secrets.NPM_TOKEN }}
53
-
54
- - name : Publish to PyPI
55
- uses : pypa/gh-action-pypi-publish@v1.12.3
56
- with :
57
- password : ${{ secrets.PYPI_API_TOKEN }}
58
- packages-dir : py-dist/
59
-
60
- - name : Commit updated package-lock.json and docs requirements
61
- uses : stefanzweifel/git-auto-commit-action@v4
62
- with :
63
- commit_message : ${{ steps.get-title-prefix.outputs.prefix }} ${{ steps.get-version.outputs.version }}
64
- branch : main
65
- push_options : --force
66
- file_pattern : package-lock.json docs/requirements.txt
67
-
68
- - name : Create GitHub release
69
- id : create-release
70
- uses : actions/create-release@v1
71
- env :
72
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73
- with :
74
- tag_name : ${{ steps.get-version.outputs.version }}
75
- release_name : ${{ steps.get-title-prefix.outputs.prefix }} ${{ steps.get-version.outputs.version }}
76
- body : ${{ github.event.pull_request.body }}
77
- prerelease : ${{ startsWith(github.head_ref, 'prerelease/') }}
78
-
79
- - name : Post-release cleanup
80
- run : just postrelease ${{ steps.get-version.outputs.version }}
81
-
82
- - uses : stefanzweifel/git-auto-commit-action@v4
83
- with :
84
- commit_message : Back to dev
85
- branch : main
86
- push_options : --force
87
- file_pattern : package.json tests/test_version.py dash_bootstrap_components/_version.py uv.lock
52
+ # - name: Build dash-bootstrap-components
53
+ # run: just build
54
+
55
+ # - uses: JS-DevTools/npm-publish@v1
56
+ # with:
57
+ # token: ${{ secrets.NPM_TOKEN }}
58
+
59
+ # - name: Publish to PyPI
60
+ # uses: pypa/gh-action-pypi-publish@v1.12.3
61
+ # with:
62
+ # password: ${{ secrets.PYPI_API_TOKEN }}
63
+ # packages-dir: py-dist/
64
+
65
+ # - name: Commit updated package-lock.json and docs requirements
66
+ # uses: stefanzweifel/git-auto-commit-action@v4
67
+ # with:
68
+ # commit_message: ${{ steps.get-title-prefix.outputs.prefix }} ${{ steps.get-version.outputs.version }}
69
+ # branch: main
70
+ # push_options: --force
71
+ # file_pattern: package-lock.json docs/requirements.txt
72
+
73
+ # - name: Create GitHub release
74
+ # id: create-release
75
+ # uses: actions/create-release@v1
76
+ # env:
77
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
+ # with:
79
+ # tag_name: ${{ steps.get-version.outputs.version }}
80
+ # release_name: ${{ steps.get-title-prefix.outputs.prefix }} ${{ steps.get-version.outputs.version }}
81
+ # body: ${{ github.event.pull_request.body }}
82
+ # prerelease: ${{ startsWith(github.head_ref, 'prerelease/') }}
83
+
84
+ # - name: Post-release cleanup
85
+ # run: just postrelease ${{ steps.get-version.outputs.version }}
86
+
87
+ # - uses: stefanzweifel/git-auto-commit-action@v4
88
+ # with:
89
+ # commit_message: Back to dev
90
+ # branch: main
91
+ # push_options: --force
92
+ # file_pattern: package.json tests/test_version.py dash_bootstrap_components/_version.py uv.lock
0 commit comments