Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 212297bcc9 | |||
| 46f9703989 | |||
| 1b657b463d | |||
| c17402a551 | |||
| 970e99ff92 | |||
| ce19c69086 | |||
| d2f5edf38e | |||
| 559a45cdef | |||
| 2fd1060ea8 | |||
| ecbd26a89d | |||
| 238f7f057a | |||
| fe527cd944 | |||
| 0fa4b52704 |
@@ -72,36 +72,17 @@ jobs:
|
|||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
# Substitute the Manifest and Download URLs in the module.json
|
||||||
# Extract version embedded in the tag.
|
- name: Substitute Manifest and Download Links For Versioned Ones
|
||||||
# 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
|
|
||||||
id: sub_manifest_link_version
|
id: sub_manifest_link_version
|
||||||
uses: cschleiden/replace-tokens@v1
|
uses: microsoft/variable-substitution@v1
|
||||||
with:
|
with:
|
||||||
files: 'module.json'
|
files: 'module.json'
|
||||||
env:
|
env:
|
||||||
VERSION: ${{steps.get_version.outputs.version-without-v}}
|
version: ${{github.event.release.tag_name}}
|
||||||
URL: ${{ env.project_url }}
|
url: https://github.com/${{github.repository}}
|
||||||
MANIFEST: ${{ env.latest_manifest_url }}
|
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
|
||||||
DOWNLOAD: ${{ env.release_module_url }}
|
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.
|
# 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
|
# If you have other directories or files that will need to be added to
|
||||||
@@ -117,6 +98,7 @@ jobs:
|
|||||||
./module.zip \
|
./module.zip \
|
||||||
`# The files that will be included.` \
|
`# The files that will be included.` \
|
||||||
module.json \
|
module.json \
|
||||||
|
LICENSE \
|
||||||
CHANGELOG.md \
|
CHANGELOG.md \
|
||||||
README.md \
|
README.md \
|
||||||
src/
|
src/
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
socketlib.lock
|
||||||
+7
-1
@@ -1,8 +1,14 @@
|
|||||||
|
## 1.1.2
|
||||||
|
### Compatibility
|
||||||
|
- Updated for compatibility with Foundry 13 (338).
|
||||||
|
|
||||||
|
## 1.1.1
|
||||||
|
- Update module.json for new location and maintainer.
|
||||||
|
|
||||||
## 1.1.0
|
## 1.1.0
|
||||||
### Compatibility
|
### Compatibility
|
||||||
- Updated for compatibilty with Foundry 12 (thanks Clemente!)
|
- Updated for compatibilty with Foundry 12 (thanks Clemente!)
|
||||||
|
|
||||||
|
|
||||||
## 1.0.13
|
## 1.0.13
|
||||||
### Compatibility
|
### Compatibility
|
||||||
- Verified compatibility with Foundry 11
|
- Verified compatibility with Foundry 11
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
[](https://ko-fi.com/staebchenfisch)
|
[](https://ko-fi.com/farling)
|
||||||
|
[](https://patreon.com/amusingtime)
|
||||||
|

|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
# 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.
|
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
@@ -2,10 +2,10 @@
|
|||||||
"id": "socketlib",
|
"id": "socketlib",
|
||||||
"title": "socketlib",
|
"title": "socketlib",
|
||||||
"description": "A library for easier handling of foundry sockets",
|
"description": "A library for easier handling of foundry sockets",
|
||||||
"version": "#{VERSION}#",
|
"version": "1.1.1",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"minimum": "11",
|
"minimum": "11",
|
||||||
"verified": "12"
|
"verified": "13.338"
|
||||||
},
|
},
|
||||||
"library": true,
|
"library": true,
|
||||||
"authors": [
|
"authors": [
|
||||||
@@ -27,9 +27,9 @@
|
|||||||
"esmodules": [
|
"esmodules": [
|
||||||
"src/socketlib.js"
|
"src/socketlib.js"
|
||||||
],
|
],
|
||||||
"url": "#{URL}#",
|
"url": "https://github.com/farling42/foundryvtt-socketlib",
|
||||||
"download": "#{DOWNLOAD}#",
|
"download": "https://github.com/farling42/foundryvtt-socketlib/releases/download/v1.1.1/module.zip",
|
||||||
"manifest": "#{MANIFEST}#",
|
"manifest": "https://github.com/farling42/foundryvtt-socketlib/releases/latest/download/module.json",
|
||||||
"readme": "https://github.com/farling42/foundryvtt-socketlib/blob/master/README.md",
|
"readme": "https://github.com/farling42/foundryvtt-socketlib/blob/master/README.md",
|
||||||
"changelog": "https://github.com/farling42/foundryvtt-socketlib/blob/master/CHANGELOG.md",
|
"changelog": "https://github.com/farling42/foundryvtt-socketlib/blob/master/CHANGELOG.md",
|
||||||
"bugs": "https://github.com/farling42/foundryvtt-socketlib/issues"
|
"bugs": "https://github.com/farling42/foundryvtt-socketlib/issues"
|
||||||
|
|||||||
Reference in New Issue
Block a user