Skip to content

bellcom/fetch_tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

fetch_tag

Simple script to create database backup and checkout tag on bellcom drupal projects.

Dependencies

  • drush

Usage

Checkout tag on repo

./fetch_tag.sh {tag}

This checks out the specified tag, backups the database to the current users home dir, and saves the path of the databasebackup in the script directory under the name {tag}.info

Restore previous tag and database

./fetch_tag.sh restore {tag}

This checks out the specified tag, and imports the database specified in the file {tag}.info from the script directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages