• make sure that all silecs projects build fine in your local workspace.
  • if you plan to install on the official silecs-folder, first commit your changes to the git-repo ( gsi-branch )
  • If the plugin should be released, make sure you build a new silecs.eclipse.plugin.***.jar in the project silecs-eclipse-plugin-update-site
    • open project silecs-eclipse-plugin-feature / feature.xml
    • set a new version-string
    • open silecs-eclipse-plugin-update-site / site.xml and
    • add a new category only for major changes
    • select the right category
    • add the feature to this category ( search for "silecs" in the dialog)
    • synchronize --> sync selected feature only
    • build (on selected feature)
  • open a the base-folder of silecs-communication-cpp in a terminal
  • First do a local installation an test it ... see "Test the new instalation" only after that you should do a global release
  • further information is provided in the header of releaseSilecs.sh:
####################################################################################################################################
# Usage examples:
# first you need to source this script, so that you can use it's methods:
# $ source releaseSilecs.sh
#
### release ####
# release a new version v1.0.0 using the default pathes. A git branch and tag will be created and pushed
# $ release_global 1.0.0 /home/bel/schwinn/lnx/git
#
# A local release will not create any branches and/or tags
# $ release_local 1.0.0 /home/bel/schwinn/lnx/git
# 
### patch ###
# patch two packages of an existing version 1.2.3, resulting of a installation of 1.2.4 using the default pathes. A git branch and tag will be created and pushed
# $ patch_global silecs-codegen 1.2.3 /home/bel/schwinn/lnx/git
# $ patch_global silecs-model 1.2.3 /home/bel/schwinn/lnx/git
#
# A local patch will not create any branches and/or tags
# $ patch_local silecs-model 1.2.3 /home/bel/schwinn/lnx/git
#

### release plugin ###
# release a new version of the silecs-eclipse plugin
# $ plugin_release /home/bel/schwinn/lnx/git-silecs-plugin /common/usr/cscofe/silecs
#
####################################################################################################################################
  • Test the new instalation:
    • creation of silecs-design + deploy
    • validate, codegen, make FESA class, make FESA DU
    • migrate existing ( Use SiemensTest + SiemensTestDU )
    • validate, codegen, make FESA class, make FESA DU
    • connect to PLC with diagnostic-tool
    • connect to PLC with CLI-Tool
  • If a test failed, fix bugs in release-branch, increase tiny-version by 1, do a new release ( Go back to step 1 )
  • Merge all fixes of the release-branch back to the "gsi" branch
  • Add new silecs + silecs-eclipse versions to bugzilla ( only for mayor/minor version-changes )
  • Create new wiki-sub-pages ( only if needed ... possibly you can re-use the old pages )
  • Send email to silecs-news@gsi.de
    • best use mail of last release as template
Topic revision: r6 - 02 Nov 2017, AlexanderSchwinn
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback