File tree Expand file tree Collapse file tree 7 files changed +22
-31
lines changed Expand file tree Collapse file tree 7 files changed +22
-31
lines changed Original file line number Diff line number Diff line change 21
21
- shell : ${{ inputs.shell }}
22
22
id : install-releaser
23
23
run : |
24
- # Install Jupyter Releaser from git unless we are testing Releaser itself
25
- if ! command -v jupyter-releaser &> /dev/null
26
- then
27
- pip install -q git+https://github.com/jupyter-server/jupyter_releaser.git@v2
28
- fi
24
+ cd "${{ github.action_path }}/../../scripts"
25
+ bash install-releaser.sh
29
26
30
27
- id : prep-release
31
28
shell : ${{ inputs.shell }}
Original file line number Diff line number Diff line change 39
39
- name : install-releaser
40
40
shell : ${{ inputs.shell }}
41
41
run : |
42
- # Install Jupyter Releaser from git unless we are testing Releaser itself
43
- if ! command -v jupyter-releaser &> /dev/null
44
- then
45
- pip install -q git+https://github.com/jupyter-server/jupyter_releaser.git@v2
46
- fi
42
+ cd "${{ github.action_path }}/../../scripts"
43
+ bash install-releaser.sh
47
44
48
45
- id : finalize-release
49
46
shell : ${{ inputs.shell }}
Original file line number Diff line number Diff line change 6
6
- shell : bash
7
7
id : install-releaser
8
8
run : |
9
- set -eux
10
- # Install Jupyter Releaser from git unless we are testing Releaser itself
11
- if ! command -v jupyter-releaser &> /dev/null
12
- then
13
- pip install -q git+https://github.com/jupyter-server/jupyter_releaser.git@v2
14
- fi
9
+ cd "${{ github.action_path }}/../../scripts"
10
+ bash install-releaser.sh
Original file line number Diff line number Diff line change 36
36
- name : install-releaser
37
37
shell : ${{ inputs.shell }}
38
38
run : |
39
- # Install Jupyter Releaser from git unless we are testing Releaser itself
40
- if ! command -v jupyter-releaser &> /dev/null
41
- then
42
- pip install -q git+https://github.com/jupyter-server/jupyter_releaser.git@v2
43
- fi
39
+ cd "${{ github.action_path }}/../../scripts"
40
+ bash install-releaser.sh
44
41
45
42
- id : populate-release
46
43
shell : ${{ inputs.shell }}
Original file line number Diff line number Diff line change 45
45
- name : install-releaser
46
46
shell : ${{ inputs.shell }}
47
47
run : |
48
- # Install Jupyter Releaser from git unless we are testing Releaser itself
49
- if ! command -v jupyter-releaser &> /dev/null
50
- then
51
- pip install -q git+https://github.com/jupyter-server/jupyter_releaser.git@v2
52
- fi
48
+ cd "${{ github.action_path }}/../../scripts"
49
+ bash install-releaser.sh
53
50
54
51
- id : prep-release
55
52
shell : ${{ inputs.shell }}
Original file line number Diff line number Diff line change 28
28
- name : install-releaser
29
29
shell : ${{ inputs.shell }}
30
30
run : |
31
- # Install Jupyter Releaser from git unless we are testing Releaser itself
32
- if ! command -v jupyter-releaser &> /dev/null
33
- then
34
- pip install -q git+https://github.com/jupyter-server/jupyter_releaser.git@v2
35
- fi
31
+ cd "${{ github.action_path }}/../../scripts"
32
+ bash install-releaser.sh
36
33
37
34
- id : publish-changelog
38
35
shell : ${{ inputs.shell }}
Original file line number Diff line number Diff line change
1
+ set -eux
2
+ # Install Jupyter Releaser if it is not already installed
3
+
4
+ SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
5
+
6
+ if ! command -v jupyter-releaser & > /dev/null
7
+ then
8
+ cd " ${SCRIPT_DIR} /../.."
9
+ pip install -e .
10
+ fi
You can’t perform that action at this time.
0 commit comments