"Fossies" - the Fresh Open Source Software Archive

Member "ampache-5.0.0/docs/RELEASE-PROCESS.md" (31 Aug 2021, 6090 Bytes) of package /linux/www/ampache-5.0.0.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field. See also the latest Fossies "Diffs" side-by-side code changes report for "RELEASE-PROCESS.md": 4.4.3_vs_5.0.0.

Ampache Release Guide

Official Release Process

It's easy to use a program like github desktop to compare between branches. Use Linux

wget -P ./public/lib/components/jQuery-contextMenu/dist/ https://raw.githubusercontent.com/swisnl/jQuery-contextMenu/a7a1b9f3b9cd789d6eb733ee5e7cbc6c91b3f0f8/dist/jquery.contextMenu.min.js.map
wget -P ./public/lib/components/jQuery-contextMenu/dist/ https://raw.githubusercontent.com/swisnl/jQuery-contextMenu/a7a1b9f3b9cd789d6eb733ee5e7cbc6c91b3f0f8/dist/jquery.contextMenu.min.css.map
find . -xtype l -exec rm {} \;
read -p "Enter Ampache Version: " a_version
rm ../ampache-${a_version}_all.zip & zip -r -q -u -9 --exclude=./.git/* --exclude=./.github/* --exclude=./.tx/* --exclude=./.idea/* --exclude=.gitignore --exclude=.gitattributes --exclude=.scrutinizer.yml --exclude=CNAME --exclude=.codeclimate.yml --exclude=.php* --exclude=.tgitconfig --exclude=.travis.yml ../ampache-${a_version}_all.zip ./
rm -rf /var/www/html && ln -s /var/www/ampache/public /var/www/html
rm -rf /var/www/ampache && unzip -o ../ampache-${a_version}_all.zip -d /var/www/ampache/
md5sum ../ampache-${a_version}_all.zip

Post release

Additional requirements

Update ampache-docker images on docker hub

Update the official Ampache docker images [https://hub.docker.com/r/ampache/ampache]

This part should only be needed once. It creates a local builder that can build the other CPU architectures.

aptitude install qemu qemu-user-static qemu-user binfmt-support
docker buildx create --name mybuilder mybuilder
docker buildx use mybuilder
docker buildx inspect --bootstrap

Log in to your docker account

docker login -u USER -p PASSWORD

To update master and nosql; add the latest zip file to the docker images

    &&  wget -q -O /tmp/master.zip https://github.com/ampache/ampache/releases/download/5.x.x/ampache-5.x.x_all.zip \

Build latest (master) images and push to docker hub.

git clone -b master https://github.com/ampache/ampache-docker.git ampache-docker/
cd ampache-docker
docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7 --build-arg VERSION=5.x.x -t ampache/ampache:5 -t ampache/ampache:5.x.x -t ampache/ampache:latest --push .

Build develop images and push to docker hub.

git clone -b develop https://github.com/ampache/ampache-docker.git ampache-docker-develop/
cd ampache-docker-develop
docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7 -t ampache/ampache:develop -t ampache/ampache:preview --push .

Build nosql images and push to docker hub.

git clone -b nosql https://github.com/ampache/ampache-docker.git ampache-docker-nosql/
cd ampache-docker-nosql
docker buildx build --no-cache --platform linux/amd64,linux/arm64,linux/arm/v7 --build-arg VERSION=5.x.x -t ampache/ampache:nosql5 -t ampache/ampache:nosql5.x.x -t ampache/ampache:nosql --push .

Additional info

Make sure rolling tags are updated to the latest commit. This is good for pre-release/develop tags

git tag -f 5.0.0 824380522

Then pushing it to github

git push --force origin 5.0.0