Created
October 13, 2025 20:29
-
-
Save LevitatingBusinessMan/62b86b9ccc1947bc8d62324aa47125f1 to your computer and use it in GitHub Desktop.
obsc_scm example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <services> | |
| <service mode="manual" name="obs_scm"> | |
| <param name="url">https://github.com/LevitatingBusinessMan/collectrack.git</param> | |
| <param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param> | |
| <param name="scm">git</param> | |
| <param name="changesgenerate">enable</param> | |
| <param name="changesauthor">[email protected]</param> | |
| </service> | |
| <service name="tar" mode="buildtime"/> | |
| <service name="set_version" mode="manual"/> | |
| </services> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env fish | |
| osc rm (basename (pwd))-*{.obscpio,.tar} | |
| osc service ra | |
| osc add (basename (pwd))-*{.obscpio,.tar} | |
| osc ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Creates a
%name-%version.tarsource