File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed
Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ jobs:
120120 - name : Update spec file version
121121 run : |
122122 VERSION=$(grep '^version = ' Cargo.toml | head -1 | sed 's/version = "\(.*\)"/\1/')
123- sed -i "s/^Version:.*/Version: ${VERSION}/" rpm/sqlpage.spec
123+ # RPM doesn't allow hyphens in Version field, convert to tilde for pre-releases
124+ RPM_VERSION=$(echo "$VERSION" | sed 's/-/~/')
125+ sed -i "s/^Version:.*/Version: ${RPM_VERSION}/" rpm/sqlpage.spec
124126 cp rpm/sqlpage.spec ~/rpmbuild/SPECS/
125127
126128 - name : Create source tarball
Original file line number Diff line number Diff line change @@ -171,8 +171,8 @@ When a version tag (v*) is pushed:
171171### Version Scheme
172172
173173- ** DEB:** ` 0.38.0~beta.1-1 ` (tilde for pre-release ordering)
174- - ** RPM:** ` 0.38.0-0.1. beta.1 ` (0.1 for beta releases )
175- - Both sync with ` Cargo.toml ` version
174+ - ** RPM:** ` 0.38.0~ beta.1-1 ` (tilde for pre-release, RPM doesn't allow hyphens in Version )
175+ - Both sync with ` Cargo.toml ` version, converting hyphens to tildes for package compatibility
176176
177177### Future Enhancements (Not Implemented)
178178
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11Name: sqlpage
2- Version: 0.38.0
3- Release: 0.1.beta. 1%{?dist }
2+ Version: 0.38.0~beta.1
3+ Release: 1%{?dist }
44Summary: SQL-only webapp builder
55
66License: MIT
114114%dir %attr(750,sqlpage,sqlpage) /var/log/sqlpage
115115
116116%changelog
117- * Thu Oct 02 2025 SQLPage Contributors <sqlpage@sql-page.com> - 0.38.0-0.1. beta.1
117+ * Thu Oct 02 2025 SQLPage Contributors <sqlpage@sql-page.com> - 0.38.0~ beta.1- 1
118118- Initial RPM package release
119119- SQL-only webapp builder with support for multiple databases
120120- Includes systemd service configuration
Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ if [ -d "debian" ]; then
4747 " debian/control"
4848 " debian/rules"
4949 " debian/changelog"
50- " debian/compat"
5150 " debian/copyright"
5251 )
5352
You can’t perform that action at this time.
0 commit comments