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:
bors[bot] 2021-03-05 03:03:41 +00:00 committed by GitHub
commit 1f40de15a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -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
View File

@ -3570,7 +3570,7 @@ checksum = "1e81da0851ada1f3e9d4312c704aa4f8806f0f9d69faaf8df2f3464b4a9437c2"
[[package]]
name = "swap"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"anyhow",
"async-compression",