Skip to content

v2.0.40

v2.0.40 #27

Workflow file for this run

name: Create Release
on:
push:
tags:
- v*
jobs:
build:
name: Create Release
runs-on: ubicloud
steps:
- name: Configure release version
run: |
echo "VERSION=$(echo ${{ github.ref }} | sed -e 's/^refs\/tags\///')" >> $GITHUB_ENV
- name: Create release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
name: Release ${{ env.VERSION }}
draft: false
prerelease: false
generate_release_notes: true
- name: Sync core repo dependency version
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT_TOKEN }}
repository: toggl/track-extension-core
event-type: bump-button-version
client-payload: '{"release_id": "${{ steps.create_release.outputs.id }}" }'