Skip to content

Commit

Permalink
fixing automation
Browse files Browse the repository at this point in the history
  • Loading branch information
nbingham1 committed Nov 13, 2024
1 parent 407e3d4 commit 624281b
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -127,6 +127,7 @@ jobs:
- name: Upload Install Script
if: matrix.os == 'macos-latest'
uses: actions/upload-release-asset@v1
continue-on-error: true
with:
upload_url: ${{ steps.get_release_info.outputs.url }}
asset_path: "install.sh"
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -42,6 +42,8 @@ MAINTAINER_EMAIL = "$(shell git config user.email)"
all: version lib

version:
@git fetch --tags --no-recurse-submodules
@git fetch origin $(shell git rev-list --tags --max-count=1)
@git describe --tags --abbrev=0 | cut -c2- > VERSION

linux: lib
@@ -53,8 +55,7 @@ linux: lib
mkdir -p debian
touch debian/control
echo "Package: loom" > lm-linux/DEBIAN/control
git fetch --tags --no-recurse-submodules
git describe --tags --abbrev=0 | sed 's/v\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/\1.\2-\3/g' | xargs -I{} echo "Version: {}" >> lm-linux/DEBIAN/control
cat VERSION | sed 's/\([0-9]\+\)\.\([0-9]\+\)\.\([0-9]\+\)/\1.\2-\3/g' | xargs -I{} echo "Version: {}" >> lm-linux/DEBIAN/control
echo "Section: base" >> lm-linux/DEBIAN/control
echo "Priority: optional" >> lm-linux/DEBIAN/control
echo "Architecture: amd64" >> lm-linux/DEBIAN/control
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.2
0.10.3
2 changes: 1 addition & 1 deletion bin/ckt
Submodule ckt updated 1 files
+1 −1 src/version.h

0 comments on commit 624281b

Please sign in to comment.