enonic / release-tools

Enonic Release Tools
2 stars 0 forks source link

Better version update automation #31

Closed rymsha closed 2 years ago

rymsha commented 3 years ago

Current code

      - name: Write new snapshot version
        if: steps.publish_vars.outputs.release == 'true'
        uses: christian-draeger/write-properties@1.0.1
        with:
          path: './gradle.properties'
          property: 'version'
          value: ${{ steps.publish_vars.outputs.nextSnapshot }}

Doe not notice version property if its defenition contains spaces version = 1.0.0-SNAPSHOT - is not recognized

Write own automation that is more robust and migrate all repositories to it

rymsha commented 2 years ago

20220111 Github changed ubuntu-latest from Java 8 to Java 11. It had started to break our builds today (Github rollouts new build slowly) https://github.com/actions/virtual-environments/issues/4911 It is even more important to migrate to new common action