started working on automatic build of complib deb package
This commit is contained in:
parent
d1e385a2a1
commit
0cfd021ef2
2 changed files with 37 additions and 1 deletions
36
.github/workflows/complib-package.yml
vendored
Normal file
36
.github/workflows/complib-package.yml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
name: Build comlib.deb package
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- build-test
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-complib-deb:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Bump version number
|
||||||
|
uses: paulhatch/semantic-version@v4.0.2
|
||||||
|
with:
|
||||||
|
tag_prefix: "v"
|
||||||
|
major_pattern: "(MAJOR)"
|
||||||
|
major_regexp_flags: ""
|
||||||
|
minor_pattern: "(MINOR)"
|
||||||
|
minor_regexp_flags: ""
|
||||||
|
format: "${major}.${minor}.${patch}-prerelease${increment}"
|
||||||
|
change_path: "src/my-service"
|
||||||
|
namespace: complib
|
||||||
|
bump_each_commit: false
|
||||||
|
search_commit_body: false
|
||||||
|
user_format_type: "csv"
|
||||||
|
- name: test
|
||||||
|
run: echo "$version"
|
|
@ -1,6 +1,6 @@
|
||||||
##!/usr/bin/zsh
|
##!/usr/bin/zsh
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
export VERSION="1.0.0-0"
|
export VERSION="1.0.0"
|
||||||
|
|
||||||
# BE CAREFUL TO NOT BUILD IN A PYTHON VENV!
|
# BE CAREFUL TO NOT BUILD IN A PYTHON VENV!
|
||||||
|
|
||||||
|
|
Reference in a new issue