Skip to content

Update docs for cli tools #1

Update docs for cli tools

Update docs for cli tools #1

Workflow file for this run

name: "release"
on:
push:
tags:
- v*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
checks:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- script: linux-checks/check-version
name: ${{ matrix.script }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Run check
run: |
scripts/ci_checks/${{ matrix.script }}.sh
package:
if: startsWith(github.ref, 'refs/tags/v')
needs: [checks]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Detect version
id: ver
run: |
echo "GIT_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
- name: Build deb packages
run: scripts/make_deb.sh build
- name: Check deb packages
run: scripts/make_deb.sh check
- name: Publish release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
dist/*.deb
name: ${{ steps.ver.outputs.GIT_TAG }}
tag_name: ${{ steps.ver.outputs.GIT_TAG }}
fail_on_unmatched_files: true
draft: true
prerelease: true