Skip to content

Project to help people dealing with tag-based deploys

Notifications You must be signed in to change notification settings

LaeraFelipe/tag-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tag deploy

Tag Deploy is an innovative solution designed to simplify the process of adding tags in Git, making it more efficient to configure projects for deployment. With this intuitive tool, you can easily add and manage tags, customizing the identification of specific points in your repository. In addition, Tag Deploy gives you the flexibility to configure specific environments for each tag, ensuring precise control over deployment destinations. Simplify your deployment workflow and gain more control over your projects with Tag Deploy

Using

Configuration

To configure the project, create a file in the root called 'tag-deploy-config'. If you prefer, use the sample configuration below as a starting point for your own configuration:

{
  "global": {
    "deployments": [
      {
        "name": "homolog",
        "branch": "develop",
        "modifier": "-rc"
      },
      {
        "name": "production",
        "branch": "master"
      }
    ]
  },
  "projects": []
}

Projects

You can configure the project manually by changing the JSON values in the 'tag-deploy-config' file, resulting in a configuration similar to the example below:

{
  "global": {
    "deployments": [
      {
        "name": "homolog",
        "branch": "develop",
        "modifier": "-rc"
      },
      {
        "name": "production",
        "branch": "master"
      }
    ]
  },
  "projects": [{ "name": "", "path": "" }]
}

An alternative is to include the '--add' option before the project execution command. This tells the system that you want to add it and it will create an interface where you can manually enter the information or specify the path of a folder containing several projects. This way, you can select the projects you want to configure simultaneously.

tag-deploy --add

Link configuration

To run the project from any directory in your terminal, you can create an npm link. To do this, simply access the folder where your project is located in the terminal and run the following command:

npm link

Autores

About

Project to help people dealing with tag-based deploys

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published