-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: add .deb .rpm builds in containers, update package script #369
Conversation
- name: Build artifact | ||
run: | | ||
git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
./mvnw versions:set -DnewVersion=$(git describe --tags --abbrev=0 | sed -r 's/^v//g') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tuto som vždy dostával v1.0.0
, no myslím že to bolo kôli tomu, že fork nemá žiadne pushnute tagy
@celuchmarek vies si toto zobrat? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Vyzerá to dobre. Upracem už rovno aj mac a windows do osobitných jobov v tej github action.
#213
Pridal som build artifactov v Debian a Fedora kontajneroch, mám pocit že je to najjednoduchšie riešenie ako sa vyhnúť špeciálnym rozdielom v defaultoch distribúcií s jpackage a rpm.
Zatiaľ som neriešil cache alebo nejakú špecialnu optimalizáciu CI zbytočnou abstrakciou, build je relatívne rýchli a release sa nerobí tak často.
Refaktorol som package script aby bol konzistentnejší a pridal štandardnejšiu detekciu distribucie.