10 lines
229 B
Bash
Executable File
10 lines
229 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
git submodule init
|
|
git submodule update
|
|
VERSION=$(git describe --tags | sed 's/-.*//')
|
|
DIR=$(pwd)
|
|
sed -i "s/Version:.*/Version: ${VERSION}/" polymc.spec
|
|
sudo dnf builddep polymc.spec
|
|
rpmbuild -ba polymc.spec
|