diff --git a/RepoMgr.cs b/RepoMgr.cs index 922928f..f3d9875 100644 --- a/RepoMgr.cs +++ b/RepoMgr.cs @@ -117,6 +117,7 @@ namespace repomgr { } package.RepoVersion = package.CurrentVersion; + UpdatePackage(package); WriteIndex(); } diff --git a/compile_upload.sh b/compile_upload.sh new file mode 100644 index 0000000..e3c164f --- /dev/null +++ b/compile_upload.sh @@ -0,0 +1,6 @@ +#!/bin/bash +git add . +git commit -a +dotnet publish -c Release -r linux-x64 +scp $(pwd)/bin/Release/netcoreapp3.1/linux-x64/publish/repomgr replicator:/usr/local/bin +ssh replicator "bash -c 'cd /opt/repomgr_git && git pull'"