mirror of
https://github.com/house-of-vanity/rexec.git
synced 2025-07-07 00:54:06 +00:00
Make Arch build
This commit is contained in:
59
.github/workflows/release.yml
vendored
59
.github/workflows/release.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: Rust static build and publish
|
name: Rust static build and publish
|
||||||
on: ["push"]
|
on:
|
||||||
# push:
|
push:
|
||||||
# tags:
|
tags:
|
||||||
# - '*'
|
- '*'
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
BUILD_TARGET: x86_64-unknown-linux-musl
|
BUILD_TARGET: x86_64-unknown-linux-musl
|
||||||
@ -51,10 +51,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}
|
name: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}
|
||||||
path: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}
|
path: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}
|
||||||
- name: Move binary
|
- name: Prepare build env
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/${{ env.BUILD_TARGET }}/release/
|
mkdir -p target/${{ env.BUILD_TARGET }}/release/
|
||||||
mv ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}/rexec target/${{ env.BUILD_TARGET }}/release/
|
mv ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}/rexec target/${{ env.BUILD_TARGET }}/release/
|
||||||
|
sed -i -e "s/some_ver/${{ env.VERSION }}/" PKGBUILD
|
||||||
- name: Build ZST package
|
- name: Build ZST package
|
||||||
run: |
|
run: |
|
||||||
makepkg -f
|
makepkg -f
|
||||||
@ -65,26 +66,28 @@ jobs:
|
|||||||
path: ${{ github.workspace }}/*zst
|
path: ${{ github.workspace }}/*zst
|
||||||
|
|
||||||
|
|
||||||
# release:
|
release:
|
||||||
# name: Release binary
|
name: Release binary
|
||||||
# needs: ["build"]
|
needs: ["build"]
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# permissions:
|
permissions:
|
||||||
# contents: write
|
contents: write
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/download-artifact@master
|
- uses: actions/download-artifact@master
|
||||||
# id: download_binary
|
name: Download binary
|
||||||
# with:
|
id: download_binary
|
||||||
# name: ${{ env.BINARY_NAME }}_x86_64-linux-musl
|
with:
|
||||||
# path: ${{ env.BINARY_NAME }}_x86_64-linux-musl
|
name: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}
|
||||||
# - uses: actions/download-artifact@master
|
path: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}
|
||||||
# id: download_pkgbuild
|
- uses: actions/download-artifact@master
|
||||||
# with:
|
id: download_pkg
|
||||||
# name: PKGBUILD
|
name: Download ZST package
|
||||||
# path: PKGBUILD
|
with:
|
||||||
# - uses: ncipollo/release-action@v1
|
name: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}.zst
|
||||||
# name: Update release page
|
path: ${{ env.BINARY_NAME }}_${{ env.VERSION }}_${{ env.BUILD_TARGET }}.zst
|
||||||
# with:
|
- uses: ncipollo/release-action@v1
|
||||||
# artifacts: "${{ steps.download_binary.outputs.download-path }}/*"
|
name: Update release page
|
||||||
# allowUpdates: true
|
with:
|
||||||
# body: Static build for x86_64-linux using MUSL
|
artifacts: "${{ steps.download_binary.outputs.download-path }}/*,${{ steps.download_pkg.outputs.download-path }}/*"
|
||||||
|
allowUpdates: true
|
||||||
|
body: Static musl build for x86_64-linux and Arch Linux package
|
||||||
|
@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
|
||||||
|
## [1.0.7] - 2023-08-31
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Ci
|
||||||
|
|
||||||
## [1.0.4] - 2023-08-14
|
## [1.0.4] - 2023-08-14
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rexec"
|
name = "rexec"
|
||||||
version = "1.0.6"
|
version = "1.0.7"
|
||||||
readme = "https://github.com/house-of-vanity/rexec#readme"
|
readme = "https://github.com/house-of-vanity/rexec#readme"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
description = "Parallel SSH executor"
|
description = "Parallel SSH executor"
|
||||||
|
2
PKGBUILD
2
PKGBUILD
@ -1,6 +1,6 @@
|
|||||||
# Maintainer: AB <gh@hexor.ru>
|
# Maintainer: AB <gh@hexor.ru>
|
||||||
pkgname=rexec
|
pkgname=rexec
|
||||||
pkgver=1.0.6
|
pkgver=some_ver
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Parallel SSH executor"
|
pkgdesc="Parallel SSH executor"
|
||||||
url="https://github.com/house-of-vanity/rexec"
|
url="https://github.com/house-of-vanity/rexec"
|
||||||
|
Reference in New Issue
Block a user