Skip to content

Commit 332a523

Browse files
stormslowlyAmour1688
authored andcommitted
chore: release 0.1.3 (#153)
1 parent 7aadbe6 commit 332a523

File tree

12 files changed

+30
-20
lines changed

12 files changed

+30
-20
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -138,28 +138,38 @@ jobs:
138138
with:
139139
node-version: '24'
140140

141-
- name: Setup Go
142-
uses: ./.github/actions/setup-go
143-
with:
144-
go-version: ${{ env.GO_VERSION }}
145-
cache-name: linux-x86
146-
147141
- name: Install pnpm
148142
run: corepack enable
149143

150144
- name: Install dependencies
151145
run: pnpm install --frozen-lockfile
152146

153-
- name: Format code
154-
run: pnpm format:check
147+
- name: Download Artifact
148+
uses: actions/[email protected]
149+
with:
150+
path: binaries
151+
152+
- name: Move binaries
153+
run: |
154+
find ./binaries
155+
for file in binaries/*/*-rslint; do
156+
echo "Processing $file"
157+
filename=$(basename "$file")
158+
dirname="${filename%-rslint}"
159+
target_dir="npm/$dirname"
160+
mkdir -p "$target_dir"
161+
echo "Copy $file to $target_dir/rslint"
162+
cp "$file" "npm/$dirname/rslint"
163+
done
164+
find ./npm
155165
156166
- name: Publish npm packages
157167
if: env.release_npm == 'true'
158168
env:
159169
NPM_TOKEN: ${{ secrets.RSLINT_NPM_TOKEN }}
160170
run: |
161171
npm config set "//registry.npmjs.org/:_authToken" "${NPM_TOKEN}"
162-
pnpm -r publish --tag ${{ github.event.inputs.npm_tag }} --publish-branch ${{ github.event.inputs.branch }}
172+
pnpm -r publish --no-git-checks --tag ${{ github.event.inputs.npm_tag }} --publish-branch ${{ github.event.inputs.branch }}
163173
164174
- name: Build and publish to Microsoft VS Code Marketplace
165175
if: false

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/darwin-arm64",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"exports": {
66
"./bin": "./rslint"

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/darwin-x64",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"exports": {
66
"./bin": "./rslint"

npm/linux-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/linux-arm64",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"exports": {
66
"./bin": "./rslint"

npm/linux-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/linux-x64",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"exports": {
66
"./bin": "./rslint"

npm/win32-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/win32-arm64",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"exports": {
66
"./bin": "./rslint.exe"

npm/win32-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/win32-x64",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"license": "MIT",
55
"exports": {
66
"./bin": "./rslint.exe"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rslint-monorepo",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"private": true,
55
"description": "Rslint Monorepo",
66
"homepage": "https://github.com/web-infra-dev/rslint#readme",

packages/rslint-test-tools/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/test-tools",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"type": "module",
55
"main": "src/index.ts",
66
"private": true,

packages/rslint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rslint/core",
3-
"version": "0.1.1",
3+
"version": "0.1.3",
44
"exports": {
55
".": "./dist/index.js",
66
"./bin": "./bin/rslint.cjs",

0 commit comments

Comments
 (0)