Commit 8025201
authored
🪲 [Fix]: Fix an issue with padding the prerelease number (#42)
## Description
This pull request includes a small change to the `Publish-PSModule`
function in the `scripts/helpers/Publish-PSModule.ps1` file. The change
modifies the way the `latestPrereleaseNumber` is padded with zeros.
*
[`scripts/helpers/Publish-PSModule.ps1`](diffhunk://#diff-780715ac24c6bbe21b54f3d268778136b79f21a62275bbd494dfa857b4ba40d9L278-R278):
Changed the `latestPrereleaseNumber` variable to be explicitly cast to a
string before padding it with zeros.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [x] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] 1 parent 77cedbc commit 8025201
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
0 commit comments