Skip to main content

Releases of a project


On 16th Friday the task was to release the changes made to the maven project we were working on so that the Delivery Assurance (DA) team can test it.

The steps taken for the project release.
  • Check the project for one last time for cleaning up.
  • Check whether the colleagues changes are also present in the development branch. 
  • After checking confirm the changes are committed to the development branch .
  • Checkout to a new branch tag. eg: 
                  git checkout -b S12-t realease

                  git push --set-upstream origin S12-release 

                  

  • If all are set we are ready to release.
  • Enter the following command
mvn release:prepare -Darguments="-DskipTests" - Dresume=false;

-Dresume=false : this means the committed changes will not be pushed if any network error occurs while releasing. The program will try to build it and fail.

-DskipTests To skip running the tests for a particular project, set the skipTests property to true.


  • Make changes in the application.properties file comparing the live.application.properties file.0


  • The criteria for numbering the versions
    • (_major_changes_).(_sprint_release_).(_fixes&feature_addition_)
    • If any major changes took place the 1st number in the version changes.
    • At the end of  two weeks time a sprint release is done. And the number will be  incremented in order.
    • When software problems are fixed and new features added (New,Fix,Nit) the third number will be incremented.
    • But if a release or a major change took place the other proceeding numbers will be reset to zero.
      • 1.36.12 --> 1.37.0
      • 1.36.12 --> 2.0.0
  • Then the built war file has to be copied and pasted in smb://shared.hsenidmobile.com/apptizer/ with the version number as its directory name.
  • Login to https://projects.hsenidmobile.com/login
  • choose admin-web
  • click wiki tab
  • go to version history
  • Open Release note > edit the New Features and Enhancements , Branch ,Tag
  • Send emails to the DA team mentioning the release location

Email body

Hi {{first-name}},

{{module-name}} {{version}} is now available for testing.

The release contains the feature {{brief-description}}.
Wiki: {{link-to-wiki-page}}
Thanks and Regards,
{{your-first-name}}

Subject: {{module-name}} | {{version}}



Example

Subject : Admin-Web | 1.40.0

Hi Thamali,

Admin-Web 1.40.0 is now available for testing.

The release contains the features ActiveForOrderHead button,image view Page,apk bundle download feature and google play bundle generator added.

Wiki: https://projects.hsenidmobile.com/projects/admin-web/wiki/1400

Thanks and Regards,
Adrian.



Comments

Popular posts from this blog

Hackerank Q&A

HACKERANK SQL PROBLEMS. Question: Generate the following two result sets: Query an  alphabetically ordered  list of all names in  OCCUPATIONS , immediately followed by the first letter of each profession as a parenthetical (i.e.: enclosed in parentheses). For example:  AnActorName(A) ,  ADoctorName(D) ,  AProfessorName(P) , and  ASingerName(S) . Query the number of ocurrences of each occupation in  OCCUPATIONS . Sort the occurrences in  ascending order , and output them in the following format: There are a total of [occupation_count] [occupation]s. where  [occupation_count]  is the number of occurrences of an occupation in  OCCUPATIONS  and  [occupation]  is the  lowercase  occupation name. If more than one  Occupation  has the same  [occupation_count] , they should be ordered alphabetically Answer:   select ( case when occupation= "Doctor" then concat( name ...

Research Project: AutoComplete Business Places Search Form

RESEARCH PROJECT  AUTOCOMPLETE BUSINESS PLACES SUGGESTING DROP DOWN LIST Date: 09/08/2019 The research is on how to use google powered auto suggest input form to search businesses and show its address too. And a thread has been found on auto completing drop down list on google maps platform. A look alike project on autocomplete for addresses and search terms is there in google Maps Platform for developers. The Steps taken. First of all you need the example code in your PC. Create a test Project in google Console. Autofill-inputbox Then the relevant API enabled in That project console. In this case the "Places API" An API key for a particular project. Tried running with the acquired API in the code and putting the file on tomcat server as a jsp file. Still the billing_error comes. The problem was maps API was not enabled. So that the page didn't load. But when it's enabled the website worked for a several seconds. Returning the ...

Check Form Validity

Applova Home page Form Validation. This weeks task was to validate the data that is entered to the Autocomplete business Search Form I created previously. And the second form needed the same modifications. The user was to be restricted from submitting the following: Spaces  Words less than 2 characters Invalid emails The submit button has to be disabled if the three fields were not filled. Using minimal changes in the code this had to be done. And new libraries cannot be used. In that case jquery validation plugin was not an option. But it was the easiest one we had in mind. A small coding for form validation and the plugin script was to be added to solve this matter. But without using that plugin the form was validated and compromised of the invalid inputs as shown below. function getDemoHomeSectionClick () { var user_input = document. forms [ 'form' ][ 'SingleLine1' ]. value ; if ((user_input. trim ()). length < 2 ) { ...