Skip to content

Commit

Permalink
debian build
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Dec 13, 2024
1 parent 2463b10 commit c81ec48
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
chmod 775 heta-compiler
tar -czvf ./heta-compiler-macos.tar.gz ./heta-compiler
cd ..
-name: Create .deb package
run: |
mkdir -p dist/heta-compiler/DEBIAN
cp build-deb/control dist/heta-compiler/DEBIAN/
mkdir -p dist/heta-compiler/usr/local/bin
cp dist/heta-compiler-linux dist/heta-compiler/usr/local/bin/
dpkg-deb --build dist/heta-compiler
- name: Upload Release Asset Linux
uses: actions/upload-release-asset@v1
Expand Down Expand Up @@ -64,6 +71,16 @@ jobs:
asset_path: dist/heta-compiler-macos.tar.gz
asset_name: heta-compiler-macos.tar.gz
asset_content_type: application/octet-stream

- name: Upload Release DEB Linux
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: dist/heta-compiler.deb
asset_name: heta-compiler-linux-x64.deb
asset_content_type: application/octet-stream
upload-windows-release-asset:
runs-on: windows-latest
steps:
Expand Down
7 changes: 7 additions & 0 deletions build-deb/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Package: heta-compiler
Version: 0.9.2
Section: utils
Priority: optional
Architecture: amd64
Maintainer: Heta project <dev@insysbio.com>
Description: CLI tool for Heta language
8 changes: 3 additions & 5 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@

**Heta compiler** is a software tool for the compilation of Heta-based QSP modeling platforms. Heta compiler can also be used as a JavaScript/Node package to develop modeling tools.

To read the full documentation, visit the Heta project homepage: <https://hetalang.github.io/#/heta-compiler/>.

## General info
**General info**

- [Introduction](#introduction)
- [How to cite](#how-to-cite)
Expand All @@ -27,7 +25,7 @@ To read the full documentation, visit the Heta project homepage: <https://hetala
- [License](#license)
- [Authors and history](#authors-and-history)

## Additional info
**Additional info**

- [Export formats](./export-formats)
- [CLI references](./cli-references)
Expand All @@ -36,7 +34,7 @@ To read the full documentation, visit the Heta project homepage: <https://hetala
- [API docs](https://hetalang.github.io/heta-compiler/dev)
- [Change log](./CHANGELOG.md)

## Migration from previous versions
**Migration from previous versions**

- [Migrate to v0.6](./migrate-to-v0.6);
- [Migrate to v0.7](./migrate-to-v0.7);
Expand Down

0 comments on commit c81ec48

Please sign in to comment.