diff --git a/.forgejo/workflows/release.yaml b/.forgejo/workflows/release.yaml deleted file mode 100644 index 4f2a74d..0000000 --- a/.forgejo/workflows/release.yaml +++ /dev/null @@ -1,33 +0,0 @@ -on: - push: - tags: - - v** -jobs: - build-artifacts: - runs-on: docker - strategy: - matrix: - arch: - #- x86_64-unknown-linux-musl # for docker - - arm-unknown-linux-gnueabihf # for raspberry pi - steps: - - uses: https://code.forgejo.org/actions/checkout@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - id: install-dependencies - run: | - curl https://sh.rustup.rs -sSf | sh -s -- -y - shell: bash - - id: cargo-build-release - run: | - source "$HOME/.cargo/env" - cross build --target ${{ matrix.arch }} --release - shell: bash - - uses: https://code.forgejo.org/actions/upload-artifact@v3 - with: - name: emgauwa-core_${{ matrix.arch }} - path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-core - - uses: https://code.forgejo.org/actions/upload-artifact@v3 - with: - name: emgauwa-controller_${{ matrix.arch }} - path: ${{ github.workspace }}/target/${{ matrix.arch }}/release/emgauwa-controller diff --git a/Cargo.lock b/Cargo.lock index bfbaa09..e313d9a 100644 Binary files a/Cargo.lock and b/Cargo.lock differ diff --git a/Cargo.toml b/Cargo.toml index d5915a3..42b4655 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "emgauwa-controller" -version = "0.5.0" +version = "0.5.1" edition = "2021" authors = ["Tobias Reisinger "] diff --git a/Makefile b/Makefile index ba15c15..6f1f7df 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean: rm -f emgauwa-controller.sqlite emgauwa-controller_%: - $(TOOL) build --target $* --release --bin emgauwa-controller + $(TOOL) build --target $* --release mkdir -p out/releases cp target/$*/release/emgauwa-controller out/releases/emgauwa-controller_$*