mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-26 07:59:28 -05:00
284: Rename `latest` release to `preview` r=thomaseizinger a=thomaseizinger The latest release should refer to the latest non-pre release. What we are doing here is actually publishing a preview release. Fixes #281. 286: Update Cargo.lock for new version r=thomaseizinger a=thomaseizinger I forgot about this in the last commit ... Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
commit
1f40de15a3
@ -1,4 +1,4 @@
|
|||||||
name: "Create 'latest' release"
|
name: "Create 'preview' release"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -7,26 +7,26 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
create_release:
|
create_release:
|
||||||
name: Create latest release
|
name: Create preview release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Delete 'latest' release
|
- name: Delete 'preview' release
|
||||||
uses: larryjoelane/delete-release-action@v1.0.24
|
uses: larryjoelane/delete-release-action@v1.0.24
|
||||||
with:
|
with:
|
||||||
release-name: latest
|
release-name: preview
|
||||||
token: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
token: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Give GitHub some time to process the deletion, otherwise our release shows up as draft. Sigh.
|
- name: Give GitHub some time to process the deletion, otherwise our release shows up as draft. Sigh.
|
||||||
run: sleep 10
|
run: sleep 10
|
||||||
|
|
||||||
- name: Create 'latest' release
|
- name: Create 'preview' release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: latest
|
tag_name: preview
|
||||||
release_name: latest
|
release_name: preview
|
||||||
draft: false
|
draft: false
|
||||||
prerelease: true
|
prerelease: true
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3570,7 +3570,7 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "swap"
|
name = "swap"
|
||||||
version = "0.1.0"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-compression",
|
"async-compression",
|
||||||
|
Loading…
Reference in New Issue
Block a user