Commit 4290fe1
committed
Enhance npm publish workflow to dynamically determine dist-tag based on version format
- Added a step to determine the npm dist-tag ('next' for pre-releases and 'latest' for stable releases) based on the version in package.json.
- Updated the npm publish command to use the determined dist-tag.1 parent a2eaf64 commit 4290fe1
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
129 | 142 | | |
130 | 143 | | |
131 | 144 | | |
| |||
148 | 161 | | |
149 | 162 | | |
150 | 163 | | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
151 | 167 | | |
152 | 168 | | |
153 | 169 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 170 | + | |
0 commit comments