deno 2.4.5__tar.gz → 2.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of deno might be problematic. Click here for more details.
- deno-2.5.0/.github/workflows/check-release.yml +55 -0
- {deno-2.4.5 → deno-2.5.0}/PKG-INFO +5 -1
- {deno-2.4.5 → deno-2.5.0}/README.md +4 -0
- {deno-2.4.5 → deno-2.5.0}/pyproject.toml +1 -1
- {deno-2.4.5 → deno-2.5.0}/scripts/hatch_build.py +5 -1
- {deno-2.4.5 → deno-2.5.0}/uv.lock +1 -1
- {deno-2.4.5 → deno-2.5.0}/.github/workflows/release.yml +0 -0
- {deno-2.4.5 → deno-2.5.0}/.gitignore +0 -0
- {deno-2.4.5 → deno-2.5.0}/scripts/build.sh +0 -0
- {deno-2.4.5 → deno-2.5.0}/src/deno/__init__.py +0 -0
- {deno-2.4.5 → deno-2.5.0}/src/deno/__main__.py +0 -0
- {deno-2.4.5 → deno-2.5.0}/src/deno/_find_deno.py +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: Check Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: '0 0 * * *' # Daily at midnight UTC
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
check-and-update:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
permissions:
|
|
12
|
+
contents: write
|
|
13
|
+
pull-requests: write
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v5
|
|
16
|
+
- uses: astral-sh/setup-uv@v6
|
|
17
|
+
|
|
18
|
+
- name: Check for new Deno version
|
|
19
|
+
id: check
|
|
20
|
+
env:
|
|
21
|
+
GH_TOKEN: ${{ github.token }}
|
|
22
|
+
run: |
|
|
23
|
+
# Get latest Deno version
|
|
24
|
+
NEW_VERSION=$(gh release view --repo denoland/deno --json tagName --jq '.tagName' | sed 's/^v//')
|
|
25
|
+
echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT
|
|
26
|
+
# Set the version
|
|
27
|
+
uv version "$NEW_VERSION"
|
|
28
|
+
# Check if there are changes
|
|
29
|
+
if git diff --quiet; then
|
|
30
|
+
echo "has_changes=false" >> $GITHUB_OUTPUT
|
|
31
|
+
echo "No changes needed"
|
|
32
|
+
else
|
|
33
|
+
echo "has_changes=true" >> $GITHUB_OUTPUT
|
|
34
|
+
echo "New version available: $NEW_VERSION"
|
|
35
|
+
fi
|
|
36
|
+
|
|
37
|
+
- name: Create PR
|
|
38
|
+
if: steps.check.outputs.has_changes == 'true'
|
|
39
|
+
env:
|
|
40
|
+
GH_TOKEN: ${{ github.token }}
|
|
41
|
+
run: |
|
|
42
|
+
VERSION="${{ steps.check.outputs.version }}"
|
|
43
|
+
|
|
44
|
+
git config user.email "action@github.com"
|
|
45
|
+
git config user.name "GitHub Action"
|
|
46
|
+
|
|
47
|
+
BRANCH="update-deno-$VERSION"
|
|
48
|
+
git checkout -b "$BRANCH"
|
|
49
|
+
git add -A
|
|
50
|
+
git commit -m "Update to Deno $VERSION"
|
|
51
|
+
git push -u origin "$BRANCH"
|
|
52
|
+
|
|
53
|
+
gh pr create \
|
|
54
|
+
--title "Update to Deno $VERSION" \
|
|
55
|
+
--body "Automated update from Deno release v$VERSION"
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: deno
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
5
|
Description-Content-Type: text/markdown
|
|
6
6
|
|
|
7
|
+
# denop
|
|
8
|
+
|
|
9
|
+
Distribution of [Deno](https://deno.com/) for PyPI.
|
|
10
|
+
|
|
7
11
|
```sh
|
|
8
12
|
scripts/build.sh # build all the distributions under ./dist
|
|
9
13
|
uvx --from dist/deno-2.3.5-py3-none-macosx_11_0_arm64.whl deno --version
|
|
@@ -71,7 +71,11 @@ class CustomHook(BuildHookInterface):
|
|
|
71
71
|
return
|
|
72
72
|
|
|
73
73
|
zname = resolve_deno_archive_name()
|
|
74
|
-
deno = download_deno_bin(
|
|
74
|
+
deno = download_deno_bin(
|
|
75
|
+
Path(self.directory),
|
|
76
|
+
os.environ.get("DENO_VERSION", self.metadata.version),
|
|
77
|
+
zname,
|
|
78
|
+
)
|
|
75
79
|
build_data["tag"] = binary_to_tag[zname]
|
|
76
80
|
build_data["shared_scripts"][str(deno.absolute())] = f"src/{deno.name}"
|
|
77
81
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|