File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2424 run : |
2525 $count = git rev-list --count HEAD
2626 $sha = git rev-parse --short=8 HEAD
27- $tag = "b $count"
27+ $tag = ('b{0:D5}' -f [int] $count)
2828 "count=$count" >> $env:GITHUB_OUTPUT
2929 "sha=$sha" >> $env:GITHUB_OUTPUT
3030 "tag=$tag" >> $env:GITHUB_OUTPUT
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Filename: MultistageOptimizer.cpp
33Description : Calculate optimal mass for each stage given a DeltaV requirement on a multistage Rocket
44Source of math equations : http://www.projectrho.com/public_html/rocket/multistage.php
55Author: Florian Zimmer
6- Version : rolling (see GitHub prereleases : b<commit-count>)
6+ Version : rolling (see GitHub releases : b<commit-count> padded to 5 digits )
77Last Changed : 31.03.2021
88Legacy changelog (pre-continuous releases):
990.1 basic functionality/port from python project
Original file line number Diff line number Diff line change @@ -124,10 +124,10 @@ Benchmark runs also append a CSV row to `benchmark_results.csv` (override with `
124124
125125## Releases (continuous builds)
126126
127- GitHub Actions publishes rolling prereleases for every commit to ` main ` /` master ` :
127+ GitHub Actions publishes rolling releases for every commit to ` main ` /` master ` :
128128
129- - Tag format: ` b<commit-count> ` (for example ` b123 ` ).
130- - Assets: ` MultistageOptimizer-windows-x64-b<commit-count> .zip ` containing ` MultistageOptimizer.exe ` + sample ` config/ ` .
129+ - Tag format: ` b<commit-count> ` zero-padded to 5 digits (for example ` b00123 ` ).
130+ - Assets: ` MultistageOptimizer-windows-x64-b00123 .zip ` containing ` MultistageOptimizer.exe ` + sample ` config/ ` .
131131
132132## Limitations
133133
You can’t perform that action at this time.
0 commit comments