Skip to content

docs(sdkver): correct development release breaking change increment #184

docs(sdkver): correct development release breaking change increment

docs(sdkver): correct development release breaking change increment #184

Workflow file for this run

# Copyright (C) 2022, TomTom (http://tomtom.com).
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: Release and Deploy GitHub Action
concurrency: deployment
on:
push:
branches:
- master
jobs:
github-release:
name: Release Action
outputs:
next-version: ${{ steps.commisery.outputs.next-version }}
runs-on: ubuntu-latest
steps:
- name: Generate version
id: commisery
uses: tomtom-international/commisery-action/bump@v2
with:
create-release: true
token: ${{ github.token }}
version-prefix: v
release-action:
runs-on: ubuntu-latest
needs: github-release
if: needs.github-release.outputs.next-version != ''
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ needs.github-release.outputs.next-version }}
- name: Update the ${{ needs.github-release.outputs.next-version }} tag
uses: actions/[email protected]
with:
source-tag: ${{ needs.github-release.outputs.next-version }}