Creating a Drupal artifact

Submitted by barnettech on Wed, 01/25/2023 - 14:14


git checkout master-build
git merge master
composer install --no-dev --optimize-autoloader

git add -f vendor/
git add -f web/core
git add -f web/modules/contrib
git add -f web/themes/contrib
git add -f web/profiles/contrib
git add -f web/libraries

git commit -m "Adding Composer dependencies in preparation for 1.0.0 release."
git tag 1.0.0 -m "Adding great new features."
git push origin 1.0.0

"We can then checkout the 1.0.0 tag in our hosting environment and visit the site via a web browser."