Skip to content

Instantly share code, notes, and snippets.

@LevitatingBusinessMan
Created October 13, 2025 20:29
Show Gist options
  • Save LevitatingBusinessMan/62b86b9ccc1947bc8d62324aa47125f1 to your computer and use it in GitHub Desktop.
Save LevitatingBusinessMan/62b86b9ccc1947bc8d62324aa47125f1 to your computer and use it in GitHub Desktop.
obsc_scm example
<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>
#!/usr/bin/env fish
osc rm (basename (pwd))-*{.obscpio,.tar}
osc service ra
osc add (basename (pwd))-*{.obscpio,.tar}
osc ci
@LevitatingBusinessMan
Copy link
Author

Creates a %name-%version.tar source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment