Back to Defold

Release guide

RELEASE.md

1.12.44.0 KB
Original Source

Release guide

Release branches/channels

  • Alpha - git branch: dev
  • Beta - git branch: beta
  • Stable - git branch: master

Alpha

The alpha channel is automatically released for every successful push to dev.

Beta

  1. Merge dev into beta

     $ git checkout beta
     $ git pull
     $ git merge dev
     $ git push
    

    Beta channel is automatically released for every successful push to beta.

  2. Collect release notes using python scripts/releasenotes_github_projectv2.py and post on forum.defold.com and add the "BETA" tag to the headline

  • Note: The release notes script requires a github access token to work correctly (https://github.com/settings/tokens). If the token is incorrect, you will likely get an error saying 'Unable to find GitHub project for version x.x.x'. Create a "classic" github token and add permissions to read projects. If the script still fails, you might need more permissions.
  1. Bump version on dev:

     $ git checkout dev
     $ ./scripts/build.py bump
     $ git diff
     $ git add VERSION
     $ git commit -m "Bumped version to X.Y.Z"
     $ git push
    

Update private repos

  1. Also update the beta for the console platforms

     $ cd defold-platform
     $ git checkout dev
     $ git pull
    
     $ git checkout beta
     $ git pull
     $ git merge dev
     $ git fetch upstream
     $ git merge upstream/beta
     $ git push
    

Stable

  1. If there is a pending Native Extension server change, publish the production server, which updates https://build.defold.com

  2. Switch to master branch, merge from beta:

     $ git checkout master
     $ git pull
     $ git merge beta
    
  3. Push master!

     $ git push
    

    This will trigger a build of the engines and editors for stable. Make a note of the release sha1 (the latest commit to the master branch on GitHub)

  4. Merge master into dev:

     $ git checkout dev
     $ git pull
     $ git merge master -m "Merged master into dev"
     $ git push
    

    After a successful build, the editors are published under the stable engine tag in GitHub Releases

  5. Repost the releasenotes on the forum and remove the "BETA" part from the headline

  6. Announce the Stable release in other channels:

Update private repos

  1. Update the master branch for the console platforms

     $ cd defold-platform
     $ git checkout beta
     $ git pull
     $ git checkout master
     $ git pull
     $ git merge beta
    
     $ git fetch upstream
     $ git merge upstream/master
     $ git push
    
  2. Update the dev branch for the console platforms

     $ cd defold-platform
     $ git checkout master
     $ git pull
     $ git checkout dev
     $ git pull
     $ git merge master
     $ git fetch upstream
     $ git merge upstream/dev
     $ git push
    

Release stable to other stores

  • Steam - Follow instructions here.
  • Epic Game Store - Follow instructions here.
  • itch.io - Configured with an external link to the latest stable releases on GitHub