Skip to content

Commit fd13f20

Browse files
committed
Fix for release
1 parent 8973a6c commit fd13f20

File tree

4 files changed

+5
-21
lines changed

4 files changed

+5
-21
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
This version is a binding for the WSLPluginAPI v${{ env.nuget_version }} available on [NuGet](https://www.nuget.org/packages/Microsoft.WSL.PluginApi/${{ env.nuget_version }}).
9393
prerelease: ${{ env.prerelease == 'true' }}
9494
env:
95-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
95+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
9696

9797
- name: Cargo Publish
9898
run: cargo publish

.github/workflows/release-tag.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- main
99

1010
permissions:
11-
contents: write # Ajout de cette ligne pour autoriser la création de tags
11+
contents: write
1212

1313
jobs:
1414
create-tag:
@@ -41,13 +41,4 @@ jobs:
4141
git tag "v${{ env.version }}" -a -m "Release version $env:version"
4242
git push origin "v${{ env.version }}"
4343
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45-
46-
- name: Verify Tag
47-
shell: pwsh
48-
run: |
49-
git fetch --tags
50-
if (-not (git tag | Select-String "v${{ env.version }}")) {
51-
Write-Host "Tag creation failed for version $env:version."
52-
exit 1
53-
}
44+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

Cargo.toml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,17 @@ authors = ["Mickaël Véril <mika.veril@wanadoo.fr>"]
77
description = "Rust bindings for the WSL Plugin API"
88
license = "MIT"
99
repository = "https://github.com/mveril/wslpluginapi-sys"
10-
documentation = "https://docs.rs/wslpluginapi-sys"
1110
keywords = [
1211
"wsl",
1312
"plugin",
14-
"api",
1513
"windows",
1614
"linux",
17-
"interop",
18-
"rust",
1915
"ffi",
2016
]
2117
categories = [
22-
"development-tools::build-tools",
23-
"os::windows",
2418
"os::windows-apis",
25-
"development-tools::debugging",
26-
"development-tools::testing",
27-
"development-tools::virtualization",
2819
"external-ffi-bindings",
20+
"virtualization",
2921
]
3022

3123

README.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Docs.rs](https://img.shields.io/badge/docs.rs-wslpluginapi--sys-blue?logo=docs.rs)](https://docs.rs/wslpluginapi-sys)
55
[![Build Status](https://github.com/mveril/wslpluginapi-sys/actions/workflows/ci.yml/badge.svg?logo=github)](https://github.com/mveril/wslpluginapi-sys/actions)
66
[![License](https://img.shields.io/badge/license-MIT-blue.svg?logo=license)](LICENSE)
7+
![Native API version](https://img.shields.io/badge/Microsoft.WSL.PluginApi-2.3.1-blue?logo=nuget&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FMicrosoft.WSL.PluginApi%2F2.1.3)
78
[![Platform](https://img.shields.io/badge/platform-Windows-blue?logo=windows&logoColor=white)](#)
89

910
`wslpluginapi-sys` is a Rust crate that provides low-level bindings to the Windows Subsystem for Linux (WSL) Plugin API. It offers a direct interface to the functions and structures defined in the WSL Plugin API, facilitating the development of WSL plugins in Rust.

0 commit comments

Comments
 (0)