mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-21 14:29:10 +00:00
publish script
This commit is contained in:
parent
5fbce82032
commit
41feb84c29
2 changed files with 5 additions and 8 deletions
11
.github/workflows/publish-exe.yml
vendored
11
.github/workflows/publish-exe.yml
vendored
|
@ -1,7 +1,7 @@
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
tags:
|
||||||
workflow_dispatch:
|
- "*"
|
||||||
|
|
||||||
name: Build and publish executable
|
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
|
run: mkdir build && mv target/x86_64-unknown-linux-gnu/release/tun2proxy build/tun2proxy-x86_64
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
name: Automated build of ${{ github.sha }}
|
|
||||||
files: build/*
|
files: build/*
|
||||||
draft: false
|
|
||||||
prerelease: true
|
|
||||||
body: This is an automated build of commit ${{ github.sha }}.
|
|
||||||
tag_name: r${{ github.sha }}
|
|
|
@ -2,7 +2,7 @@
|
||||||
authors = ["B. Blechschmidt"]
|
authors = ["B. Blechschmidt"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
name = "tun2proxy"
|
name = "tun2proxy"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
crate-type = ["cdylib", "lib"]
|
crate-type = ["cdylib", "lib"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue