🔏
starhackit
  • README
  • Getting started
    • Requirements
    • Quick Start
  • Frontend
    • The Frontend
      • Npm scripts
    • Unit testing
    • End 2 End Testing
    • Multi Application
    • Production Build
    • Internationalization
    • Configuration
    • Cut and Paste detector
    • Webpack
  • Backend
    • Node Backend
      • Npm scripts
    • Development Enviromnent with docker-compose
    • Testing
      • Code Coverage
    • Configuration
    • Debugging
    • Database
    • Http Server
      • CORS
    • Authentication
      • Social Authentication
      • Local Authentication with JWT
    • Email
    • Redis
    • Api Model
      • Api Mocking
  • Deployment
    • Build, Tag and Push Docker Images
    • Releasing
    • Deploy Infrastructure with GruCloud
    • Deploy with Ansible
Powered by GitBook
On this page
  • Change version
  • Version branch

Was this helpful?

  1. Deployment

Releasing

PreviousBuild, Tag and Push Docker ImagesNextDeploy Infrastructure with GruCloud

Last updated 5 years ago

Was this helpful?

Change version

Change the version of the backend and frontend in the following files:

Version branch

Create a new branch, commit and push to the repository.

    $ git checkout -b v10.2.1
    $ git commit -m"v10.2.1" .
    $ git push origin  v10.2.1

Create a pull request, ask for review and merge to the master branch

Check out the master branch and pull the latest

$ git checkout master
$ git pull

The npm version script:

$ npm version 10.2.1

will perform the following tasks:

  • build the docker images for backend and frontend

  • push the images to the docker repository

  • Change and commit the version on the root package.json

  • tag the git repository with new version

  • push the new git tag

You are now ready to

client/package.json
server/package.json
docker-compose.yml
deploy/playbook/group_vars/all/vars.yml
deploy with Ansible