Skip to content

Commit

Permalink
Updated release distribution system
Browse files Browse the repository at this point in the history
  • Loading branch information
flamewave000 committed Feb 4, 2021
1 parent f88769d commit ef163ce
Show file tree
Hide file tree
Showing 15 changed files with 74 additions and 57 deletions.
3 changes: 3 additions & 0 deletions df-curvy-walls/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# DF Curvy Walls

## Release 1.3.2/3 (2021-02-04)
- Implemented new release system for all Dragon Flagon modules.

## Release 1.3.1 (2021-02-03)
- Added Japanese translations, courtesy of Touge

Expand Down
20 changes: 6 additions & 14 deletions df-curvy-walls/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,10 @@ function compressDistribution(release = null) {
.pipe(gulp.dest(DIST + `${PACKAGE.name}/${PACKAGE.name}`))
// Compress the new folder into a ZIP and save it to the `bundle` folder
, () => gulp.src(DIST + PACKAGE.name + '/' + GLOB)
.pipe(zip(`${PACKAGE.name}_${release || PACKAGE.version}.zip`))
.pipe(zip(PACKAGE.name + '.zip'))
.pipe(gulp.dest(BUNDLE))
// Copy the module.json to the bundle directory, renaming it for the release
, () => gulp.src(DIST + '/module.json')
.pipe(rename(`module_${release || PACKAGE.version}.json`))
.pipe(gulp.dest(BUNDLE))
// Cleanup by deleting the intermediate module named folder
, pdel(DIST + PACKAGE.name)
Expand Down Expand Up @@ -130,26 +129,19 @@ exports.dev = gulp.series(
, outputDistToDevEnvironment
);
/**
* Performs a default build and then zips the result into a bindle using the `package.version` as the release name
* Performs a default build and then zips the result into a bundle
*/
exports.zipVersion = gulp.series(
exports.default,
compressDistribution()
);
/**
* Performs a default build and then zips the result into a bindle using `latest` as the release name
*/
exports.zipLatest = gulp.series(
exports.zip = gulp.series(
pdel([DIST])
, gulp.parallel(
buildSource(true)
, buildManifest('latest')
buildSource(false)
, buildManifest()
, outputLanguages
, outputTemplates
, outputStylesCSS
, outputMetaFiles
)
, compressDistribution('latest')
, compressDistribution()
);
/**
* Sets up a file watch on the project to detect any file changes and automatically rebuild those components.
Expand Down
12 changes: 6 additions & 6 deletions df-curvy-walls/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
{ "lang": "es", "path": "lang/es.json", "name": "Español" },
{ "lang": "ja", "path": "lang/ja.json", "name": "日本語" }
],
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/{{name}}/LICENSE",
"manifest": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/{{name}}_{{release}}/module_{{release}}.json",
"download": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/{{name}}_{{release}}/{{name}}_{{release}}.zip",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/README.md",
"changelog": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/CHANGELOG.md",
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/{{name}}/LICENSE",
"manifest": "https://dragonflagon.cafe/mods/man/{{name}}",
"download": "https://dragonflagon.cafe/mods/pak/{{name}}",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/README.md",
"changelog":"https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/CHANGELOG.md",
"manifestPlusVersion": "1.0.0",
"authors": [ { "name": "flamewave000", "discord": "flamewave000#6766", "url": "https://github.com/flamewave000" } ],
"media": [
Expand Down
2 changes: 1 addition & 1 deletion df-curvy-walls/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "df-curvy-walls",
"version": "1.3.1",
"version": "1.3.3",
"description": "Generates wall segments along a curve",
"main": "df-wall-curves.js",
"devDir": "/mnt/d/flame/Documents/FoundryVTT/Data/modules/",
Expand Down
3 changes: 3 additions & 0 deletions df-logger/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# DF User Logger

## Release 1.4.1/2 (2021-02-04)
- Implemented new release system for all Dragon Flagon modules.

## Release 1.4.0 (2021-1-26)
- Added logout message for when user disconnect via closing the tab or losing connection (previously would only show if they clicked the log out button).

Expand Down
18 changes: 10 additions & 8 deletions df-logger/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "df-logger",
"title": "DF User Logger",
"description": "Prints a simple message whenever a user logs-in/out of FoundryVTT",
"version": "1.4.0",
"version": "1.4.2",
"author": "flamewave000#6766",
"minimumCoreVersion": "0.6.5",
"compatibleCoreVersion": "0.7.9",
Expand All @@ -11,11 +11,13 @@
{ "lang": "en", "name": "English", "path": "lang/en.json" },
{ "lang": "es", "name": "Español", "path": "lang/es.json" }
],
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-logger",
"license": "https://github.com/flamewave000/dragonflagon-fvtt/raw/master/df-logger/LICENSE",
"manifest": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-logger_latest/module.json",
"download": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-logger_latest/df-logger.zip",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-logger/README.md",
"changelog": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-logger/CHANGELOG.md",
"socket": true
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-logger",
"license": "https://github.com/flamewave000/dragonflagon-fvtt/raw/master/df-logger/LICENSE",
"manifest": "https://dragonflagon.cafe/mods/man/df-logger",
"download": "https://dragonflagon.cafe/mods/pak/df-logger",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-logger/README.md",
"changelog":"https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-logger/CHANGELOG.md",
"socket": true,
"manifestPlusVersion": "1.0.0",
"authors": [ { "name": "flamewave000", "discord": "flamewave000#6766", "url": "https://github.com/flamewave000" } ]
}
3 changes: 3 additions & 0 deletions df-manual-rolls/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# DF Manual Rolls

## Release 0.0.2/3 (2021-02-04)
- Implemented new release system for all Dragon Flagon modules.

## Release 0.0.1 (2021-02-03)
- Initial Pre-Release
14 changes: 7 additions & 7 deletions df-manual-rolls/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
"name": "df-manual-rolls",
"title": "DF Manual Rolls",
"description": "Provides a way for a user to enter a custom value for rolls. This is to facilitate rolling real dice and then providing the values to Foundry to use.",
"version": "0.0.1",
"version": "0.0.3",
"author": "flamewave000#6766",
"minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "0.7.9",
"esmodules": ["df-manual-rolls.js"],
"languages": [
{ "lang": "en", "name": "English", "path": "lang/en.json" }
],
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-manual-rolls",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/df-manual-rolls/LICENSE",
"manifest": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-manual-rolls_latest/module.json",
"download": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-manual-rolls_latest/df-manual-rolls.zip",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-manual-rolls/README.md",
"changelog": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-manual-rolls/CHANGELOG.md",
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-manual-rolls",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/df-manual-rolls/LICENSE",
"manifest": "https://dragonflagon.cafe/mods/man/df-manual-rolls",
"download": "https://dragonflagon.cafe/mods/pak/df-manual-rolls",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-manual-rolls/README.md",
"changelog":"https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-manual-rolls/CHANGELOG.md",
"manifestPlusVersion": "1.0.0",
"authors": [ { "name": "flamewave000", "discord": "flamewave000#6766", "url": "https://github.com/flamewave000" } ]
}
4 changes: 4 additions & 0 deletions df-quick-roll/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# DF Quick Table Rolls

## Release 1.0.1/2 (2021-02-04)
- Implemented new release system for all Dragon Flagon modules.
12 changes: 6 additions & 6 deletions df-quick-roll/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
"languages": [
{ "lang": "en", "name": "English", "path": "lang/en.json" }
],
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/{{name}}/LICENSE",
"manifest": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/{{name}}_{{release}}/module_{{release}}.json",
"download": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/{{name}}_{{release}}/{{name}}_{{release}}.zip",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/README.md",
"changelog": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/CHANGELOG.md",
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/{{name}}/LICENSE",
"manifest": "https://dragonflagon.cafe/mods/man/{{name}}",
"download": "https://dragonflagon.cafe/mods/pak/{{name}}",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/README.md",
"changelog":"https://github.com/flamewave000/dragonflagon-fvtt/tree/master/{{name}}/CHANGELOG.md",
"manifestPlusVersion": "1.0.0",
"authors": [ { "name": "flamewave000", "discord": "flamewave000#6766", "url": "https://github.com/flamewave000" } ]
}
2 changes: 1 addition & 1 deletion df-quick-roll/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "df-quick-roll",
"version": "1.0.0",
"version": "1.0.2",
"description": "Adds a menu option to roll tables for rolling on the table without having to open the roll sheet",
"main": "df-quick-roll.js",
"devDir": "/mnt/d/flame/Documents/FoundryVTT/Data/modules/",
Expand Down
3 changes: 3 additions & 0 deletions df-scene-enhance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# DF Scene Enhancement Changes

## Release 3.2.1/2 (2021-02-04)
- Implemented new release system for all Dragon Flagon modules.

## Release 3.2.0 (2021-1-28)
- Added many new features for Scene Dimensions (Feature suggestion by @Damocles#7837)
- Apply scaler value against current dimensions.
Expand Down
16 changes: 9 additions & 7 deletions df-scene-enhance/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "df-scene-enhance",
"title": "DF Scene Enhancement",
"description": "A few enhancements to scene management for players and GMs.",
"version": "3.2.0",
"version": "3.2.2",
"author": "flamewave000#6766",
"minimumCoreVersion": "0.7.4",
"compatibleCoreVersion": "0.7.9",
Expand All @@ -13,10 +13,12 @@
{ "lang": "pt-BR", "path": "lang/pt-BR.json", "name": "Português (Brasil)" },
{ "lang": "es", "path": "lang/es.json", "name": "Español" }
],
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance",
"license": "https://github.com/flamewave000/dragonflagon-fvtt/raw/master/df-scene-enhance/LICENSE",
"manifest": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-scene-enhance_latest/module.json",
"download": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-scene-enhance_latest/df-scene-enhance.zip",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance/README.md",
"changelog": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance/CHANGELOG.md"
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance",
"license": "https://github.com/flamewave000/dragonflagon-fvtt/raw/master/df-scene-enhance/LICENSE",
"manifest": "https://dragonflagon.cafe/mods/man/df-scene-enhance",
"download": "https://dragonflagon.cafe/mods/pak/df-scene-enhance",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance/README.md",
"changelog":"https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-scene-enhance/CHANGELOG.md",
"manifestPlusVersion": "1.0.0",
"authors": [ { "name": "flamewave000", "discord": "flamewave000#6766", "url": "https://github.com/flamewave000" } ]
}
3 changes: 3 additions & 0 deletions df-settings-clarity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# DF Settings Clarity

## Release 2.1.1/2 (2021-02-04)
- Implemented new release system for all Dragon Flagon modules.

## Release 2.1.0 (2021-01-26)
- Moved the text label into a tooltip and now only add the emoticon to the settings label. Much more minimal and unobtrusive.

Expand Down
16 changes: 9 additions & 7 deletions df-settings-clarity/module.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "df-settings-clarity",
"title": "DF Settings Clarity",
"description": "Displays a tag next to each module setting, indicating if it is a World setting (GM Only) or a client setting (Per User).",
"version": "2.1.0",
"version": "2.1.2",
"author": "flamewave000#6766",
"minimumCoreVersion": "0.6.5",
"compatibleCoreVersion": "0.7.9",
Expand All @@ -13,10 +13,12 @@
{ "lang": "fr", "name": "French", "path": "lang/fr.json" },
{ "lang": "es", "name": "Español", "path": "lang/es.json" }
],
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-settings-clarity",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/df-settings-clarity/LICENSE",
"manifest": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-settings-clarity_latest/module.json",
"download": "https://github.com/flamewave000/dragonflagon-fvtt/releases/download/df-settings-clarity_latest/df-settings-clarity.zip",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-settings-clarity/README.md",
"changelog": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-settings-clarity/CHANGELOG.md"
"url": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-settings-clarity",
"license": "https://raw.githubusercontent.com/flamewave000/dragonflagon-fvtt/master/df-settings-clarity/LICENSE",
"manifest": "https://dragonflagon.cafe/mods/man/df-settings-clarity",
"download": "https://dragonflagon.cafe/mods/pak/df-settings-clarity",
"readme": "https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-settings-clarity/README.md",
"changelog":"https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-settings-clarity/CHANGELOG.md",
"manifestPlusVersion": "1.0.0",
"authors": [ { "name": "flamewave000", "discord": "flamewave000#6766", "url": "https://github.com/flamewave000" } ]
}

0 comments on commit ef163ce

Please sign in to comment.