Compare commits

...

13 Commits

Author SHA1 Message Date
farling42 f36851c9c1 Merge branch 'develop' 2025-05-09 17:22:44 +01:00
farling42 212297bcc9 Change module.json to work with old location of socketlib 2025-05-09 17:14:35 +01:00
farling42 46f9703989 Revert "Update module.json"
This reverts commit 1b657b463d.
2025-05-09 17:03:29 +01:00
farling42 1b657b463d Update module.json 2025-03-27 22:11:15 +00:00
Farling 9eb01db4f5 Merge pull request #25 from farling42/develop
Merge new location and working Foundry V13
2025-03-27 22:01:03 +00:00
farling42 c17402a551 Update module.json 2025-03-27 21:58:29 +00:00
farling42 970e99ff92 Update module.json 2025-03-27 21:57:51 +00:00
farling42 ce19c69086 Update module.json 2025-03-27 21:55:18 +00:00
farling42 d2f5edf38e Store hardcoded manifest link in module.json
Older versions use an explicit pointer to module.json in the source tree rather than the version on each release.
2025-03-27 21:52:49 +00:00
farling42 559a45cdef Mark as verified on 13.338 2025-03-27 21:47:48 +00:00
farling42 2fd1060ea8 Update tags in README 2025-03-20 16:19:56 +00:00
farling42 ecbd26a89d Previous fix didn't make any difference, so reverting 2025-03-20 16:17:52 +00:00
farling42 238f7f057a Manual setting of manifest to allow all users to move to new location 2025-03-20 16:14:23 +00:00
4 changed files with 21 additions and 32 deletions
+7 -26
View File
@@ -72,36 +72,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
# Extract version embedded in the tag.
# This step expects the tag to be one of the following formats:
# - "v<major>.<minor>.<patch>" (e.g., "v1.2.3")
# - "<major>.<minor>.<patch>" (e.g., "1.2.3")
#
# The version will be used by later steps to fill in the value for the
# "version" key required for a valid module manifest.
- name: Extract Version From Tag
id: get_version
uses: battila7/get-version-action@v2
# Modify "module.json" with values specific to the release.
# Since the values for the "version" and "url" keys aren't known ahead of
# time, the manifest file in the repository is updated with these values.
#
# While this does modify the manifest file in-place, the changes are not
# commited to the repository, and only exist in the action's filesystem.
- name: Modify Module Manifest With Release-Specific Values
# Substitute the Manifest and Download URLs in the module.json
- name: Substitute Manifest and Download Links For Versioned Ones
id: sub_manifest_link_version
uses: cschleiden/replace-tokens@v1
uses: microsoft/variable-substitution@v1
with:
files: 'module.json'
env:
VERSION: ${{steps.get_version.outputs.version-without-v}}
URL: ${{ env.project_url }}
MANIFEST: ${{ env.latest_manifest_url }}
DOWNLOAD: ${{ env.release_module_url }}
version: ${{github.event.release.tag_name}}
url: https://github.com/${{github.repository}}
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
# Create a "module.zip" archive containing all the module's required files.
# If you have other directories or files that will need to be added to
+4
View File
@@ -1,3 +1,7 @@
## 1.1.2
### Compatibility
- Updated for compatibility with Foundry 13 (338).
## 1.1.1
- Update module.json for new location and maintainer.
+5 -1
View File
@@ -1,4 +1,8 @@
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/staebchenfisch)
[![ko-fi](https://img.shields.io/badge/Ko--Fi-farling-success)](https://ko-fi.com/farling)
[![patreon](https://img.shields.io/badge/Patreon-amusingtime-success)](https://patreon.com/amusingtime)
![GitHub License](https://img.shields.io/github/license/farling42/foundryvtt-socketlib)
![Latest Release Download Count](https://img.shields.io/github/downloads/farling42/foundryvtt-socketlib/latest/module.zip)
![Forge installs](https://img.shields.io/badge/dynamic/json?label=Forge%20Installs&query=package.installs&suffix=%25&url=https%3A%2F%2Fforge-vtt.com%2Fapi%2Fbazaar%2Fpackage%2Ffoundryvtt-socketlib)
# socketlib
A library for simplifying working with foundries sockets. This module does not have any user facing features. You only need to install it if one of the modules you use lists it as a dependency.
+5 -5
View File
@@ -2,10 +2,10 @@
"id": "socketlib",
"title": "socketlib",
"description": "A library for easier handling of foundry sockets",
"version": "#{VERSION}#",
"version": "1.1.1",
"compatibility": {
"minimum": "11",
"verified": "12"
"verified": "13.338"
},
"library": true,
"authors": [
@@ -27,9 +27,9 @@
"esmodules": [
"src/socketlib.js"
],
"url": "#{URL}#",
"download": "#{DOWNLOAD}#",
"manifest": "#{MANIFEST}#",
"url": "https://github.com/farling42/foundryvtt-socketlib",
"download": "https://github.com/farling42/foundryvtt-socketlib/releases/download/v1.1.1/module.zip",
"manifest": "https://github.com/farling42/foundryvtt-socketlib/releases/latest/download/module.json",
"readme": "https://github.com/farling42/foundryvtt-socketlib/blob/master/README.md",
"changelog": "https://github.com/farling42/foundryvtt-socketlib/blob/master/CHANGELOG.md",
"bugs": "https://github.com/farling42/foundryvtt-socketlib/issues"