Skip to content

fix: fixed file (#443) #44

fix: fixed file (#443)

fix: fixed file (#443) #44

name: Bump version Git
on:
push:
branches:
- develop
- master
jobs:
run-lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: 14
- name: Install Node.js dependencies
run: yarn install
- name: Run linters
run: yarn run lint
build:
needs: [run-lint]
name: Build a docker image
runs-on: ubuntu-latest
outputs:
tag_version: '${{ steps.tagging.outputs.new_version }}'
steps:
- uses: actions/checkout@v3
- id: tagging
name: Bump version and push tag
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: master
pre_release_branches: develop
default_bump: patch
fetch_all_tags: true
tag_prefix: 'tag-'
# - name: Create a GitHub Tag version
# uses: ncipollo/release-action@v1
# with:
# tag: ${{ steps.tag_version.outputs.new_tag }}
# name: Release ${{ steps.tag_version.outputs.new_tag }}
# body: ${{ steps.tag_version.outputs.changelog }}