trivial: ci: generate NEWS and VERSION after MSI is done

These files don't need to be in the MSI, they're just used for CI
to add to the release on Github.
This commit is contained in:
Mario Limonciello 2022-05-10 10:10:47 -05:00 committed by Richard Hughes
parent 8253bd5d51
commit 20fb170607

View File

@ -76,12 +76,8 @@ ninja -C "$build" test
meson configure -Dtests=false -Dbuildtype=release meson configure -Dtests=false -Dbuildtype=release
ninja -C "$build" -v install ninja -C "$build" -v install
#generate news release
cd $root
contrib/ci/generate_news.py $VERSION > $DESTDIR/news.txt
echo $VERSION > $DESTDIR/VERSION
#disable motd for Windows #disable motd for Windows
cd $root
sed -i 's,UpdateMotd=.*,UpdateMotd=false,' $DESTDIR/etc/fwupd/daemon.conf sed -i 's,UpdateMotd=.*,UpdateMotd=false,' $DESTDIR/etc/fwupd/daemon.conf
# create a setup binary # create a setup binary
@ -179,3 +175,7 @@ wine msiexec /i "${MSI_FILENAME}"
ls -R ~/.wine/drive_c/Program\ Files/fwupd/ ls -R ~/.wine/drive_c/Program\ Files/fwupd/
wine ~/.wine/drive_c/Program\ Files/fwupd/bin/fwupdtool get-plugins --json wine ~/.wine/drive_c/Program\ Files/fwupd/bin/fwupdtool get-plugins --json
wine msiexec /x "${MSI_FILENAME}" wine msiexec /x "${MSI_FILENAME}"
#generate news release
contrib/ci/generate_news.py $VERSION > $DESTDIR/news.txt
echo $VERSION > $DESTDIR/VERSION