mirror of
https://github.com/chris2511/xca.git
synced 2026-09-12 19:51:05 +05:00
Put release related files into an own sub-directory
git.release.something -> Create any git release with a tag to test package (debian/rpm) build git.release -> Create required changes and tags for the next release git.publish -> Finalize the release (github release) gen-binary-hash / binary-hashes.json -> keep track of release hashes
This commit is contained in:
parent
63d1a465d3
commit
957bdbaa72
@ -25,6 +25,6 @@ comment out OSSLSIGN line in Makefile
|
||||
|
||||
copy the installed Qt tree from windows host to ./qt/
|
||||
|
||||
Edit the Qt path in xca-x.y.z/misc/build-w64.sh
|
||||
Now call xca-x.y.z/misc/build-w64.sh
|
||||
and wait until xca_setup.exe is built.
|
||||
Edit the Qt path in xca-x.y.z/release/build-w64.sh
|
||||
Now call xca-x.y.z/release/build-w64.sh
|
||||
and wait until xca-portable-x.y.z is built.
|
||||
|
||||
@ -53,7 +53,7 @@ html_theme_options = {
|
||||
'logo': 'bigcert.png',
|
||||
'logo_name': 'true',
|
||||
'fixed_sidebar': 'pinned',
|
||||
'page_width': '1200px',
|
||||
'page_width': '1150px',
|
||||
}
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# relative to this directory. They are copied after the builtin static files,
|
||||
|
||||
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
for i in $@; do
|
||||
cp "$i" /tmp/x
|
||||
cat /tmp/x |sed 's/[ \t]*$//' |sed 's/ *\t/\t/' > "$i"
|
||||
done
|
||||
|
||||
@ -1,22 +0,0 @@
|
||||
Release schedule cheat sheet
|
||||
|
||||
- Test, test, test
|
||||
- Test again
|
||||
- Check
|
||||
- ign_openssl_error()
|
||||
- for TRACE
|
||||
|
||||
- update translation and xca.pro (qmake-qt4 -o makefile && make)
|
||||
- update changelog.txt doc/xca.sgml and README.md
|
||||
- ./git.release VERSION
|
||||
- Create xca.dmg
|
||||
- Create and sign MSI Installer
|
||||
- git push git.hohnstaedt.de
|
||||
- update xca.hohnstaedt.de:
|
||||
scp changelog git.hohnstaedt.de:/var/cache/git/projects/changelog.txt
|
||||
|
||||
# https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow
|
||||
|
||||
# xcrun altool --notarize-app --primary-bundle-id "de.hohnstaedt.xca.dmg" --username "christian@hohnstaedt.de" --password "@keychain:AC_PASSWORD" --asc-provider HWR8GSJ73M --file "$DMG"
|
||||
|
||||
# xcrun stapler staple "$DMG"
|
||||
@ -56,5 +56,3 @@ cd "$XCA_BUILD"
|
||||
$XCA_DIR/configure --with-macos-version=10.13 --with-openssl="$INSTALL_DIR"
|
||||
make -j5
|
||||
cp *.dmg ..
|
||||
|
||||
DMG=xca-2.3.0.139-Yosemite.dmg
|
||||
@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -ex
|
||||
hashes="$(dirname $0)/binary-hashes.json"
|
||||
|
||||
export dir="$1"
|
||||
(
|
||||
@ -14,6 +15,6 @@ export dir="$1"
|
||||
"last":""
|
||||
}
|
||||
EOF
|
||||
) < misc/binary-hashes.json > misc/binary-hashes.json.tmp &&
|
||||
) < "$hashes" > "$hashes".tmp &&
|
||||
|
||||
mv misc/binary-hashes.json.tmp misc/binary-hashes.json
|
||||
mv "$hashes".tmp "$hashes"
|
||||
@ -10,16 +10,16 @@ export TVERSION
|
||||
|
||||
releasedir="$HOME/xca-$TVERSION"
|
||||
|
||||
./misc/gen-binary-hash "$releasedir"
|
||||
./release/gen-binary-hash "$releasedir"
|
||||
git commit -a -m "Release XCA $TVERSION done"
|
||||
|
||||
./github.release.py "$TVERSION" "${releasedir}/"*xca*"$TVERSION"*
|
||||
./release/github.release.py "$TVERSION" "${releasedir}/"*xca*"$TVERSION"*
|
||||
|
||||
cat << EOF
|
||||
|
||||
After verifying the commits, tags and github release,
|
||||
finally do:
|
||||
git push origin --tags master
|
||||
scp ${releasedir}/doc/* hohnstaedt.de:xca-doc/
|
||||
scp -r ${releasedir}/doc/html hohnstaedt.de:xca-doc/
|
||||
Un-draft the release on github
|
||||
EOF
|
||||
@ -69,7 +69,8 @@ cp xca-$TVERSION.tar.gz "$releasedir"
|
||||
)
|
||||
(
|
||||
cd ..
|
||||
"./xca-$TVERSION/misc/build-w64.sh"
|
||||
rm -rf xca_build
|
||||
"./xca-$TVERSION/release/build-w64.sh"
|
||||
cp "xca-portable-${TVERSION}.zip" msi-installer-dir-${TVERSION}.zip "$releasedir"
|
||||
)
|
||||
|
||||
@ -24,7 +24,7 @@ data = {
|
||||
"prerelease": True
|
||||
}
|
||||
|
||||
passwd = input("Github Password for " + user + ": ")
|
||||
passwd = input("Github token for " + user + ": ")
|
||||
r = []
|
||||
|
||||
response = requests.post(url, json=data, auth=(user, passwd))
|
||||
33
release/release.txt
Normal file
33
release/release.txt
Normal file
@ -0,0 +1,33 @@
|
||||
Release schedule cheat sheet
|
||||
|
||||
- Test, test, test
|
||||
- Test again
|
||||
- Check
|
||||
- ign_openssl_error()
|
||||
- for TRACE
|
||||
|
||||
- update translation and xca.pro (qmake-qt4 -o makefile && make)
|
||||
- update changelog.txt doc/xca.sgml and README.md
|
||||
- ./git.release VERSION
|
||||
- Create xca.dmg
|
||||
- Create and sign MSI Installer
|
||||
- git push git.hohnstaedt.de
|
||||
- update xca.hohnstaedt.de:
|
||||
scp changelog git.hohnstaedt.de:/var/cache/git/projects/changelog.txt
|
||||
|
||||
https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow
|
||||
|
||||
DMG=xca-2.4.0-High-Sierra.dmg
|
||||
|
||||
xcrun altool --notarize-app --primary-bundle-id "de.hohnstaedt.xca.dmg" --username "christian@hohnstaedt.de" --password "@keychain:AC_PASSWORD" --asc-provider HWR8GSJ73M --file "$DMG"
|
||||
|
||||
xcrun stapler staple "$DMG"
|
||||
|
||||
xca.msi > Windows
|
||||
unzip xca-portable
|
||||
unzip xca-installer-dir > xca-portable
|
||||
execute xca.bat in xca-installer-dir
|
||||
cp xca.msi -> xca_build
|
||||
make xca.msi.signed
|
||||
mv xca.msi.signed ~/xca-2.4.0/xca-2.4.0.msi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user