mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 15:39:25 -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:
|
||||
push:
|
||||
@ -7,26 +7,26 @@ on:
|
||||
|
||||
jobs:
|
||||
create_release:
|
||||
name: Create latest release
|
||||
name: Create preview release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Delete 'latest' release
|
||||
- name: Delete 'preview' release
|
||||
uses: larryjoelane/delete-release-action@v1.0.24
|
||||
with:
|
||||
release-name: latest
|
||||
release-name: preview
|
||||
token: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
||||
|
||||
- name: Give GitHub some time to process the deletion, otherwise our release shows up as draft. Sigh.
|
||||
run: sleep 10
|
||||
|
||||
- name: Create 'latest' release
|
||||
- name: Create 'preview' release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.BOTTY_GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: latest
|
||||
release_name: latest
|
||||
tag_name: preview
|
||||
release_name: preview
|
||||
draft: false
|
||||
prerelease: true
|
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3570,7 +3570,7 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
|
||||
|
||||
[[package]]
|
||||
name = "swap"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"async-compression",
|
||||
|
Loading…
Reference in New Issue
Block a user