publish script

This commit is contained in:
ssrlive 2023-08-06 22:39:00 +08:00
parent 5fbce82032
commit 41feb84c29
2 changed files with 5 additions and 8 deletions

View file

@ -1,7 +1,7 @@
on:
push:
branches: [master]
workflow_dispatch:
tags:
- "*"
name: Build and publish executable
@ -24,10 +24,7 @@ jobs:
run: mkdir build && mv target/x86_64-unknown-linux-gnu/release/tun2proxy build/tun2proxy-x86_64
- name: Publish
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Automated build of ${{ github.sha }}
files: build/*
draft: false
prerelease: true
body: This is an automated build of commit ${{ github.sha }}.
tag_name: r${{ github.sha }}

View file

@ -2,7 +2,7 @@
authors = ["B. Blechschmidt"]
edition = "2018"
name = "tun2proxy"
version = "0.1.1"
version = "0.1.2"
[lib]
crate-type = ["cdylib", "lib"]