Skip to content

Commit

Permalink
Merge pull request #20 from DeckThemes/dev
Browse files Browse the repository at this point in the history
make new release
  • Loading branch information
Tormak9970 authored Jan 22, 2024
2 parents 5025de4 + b535d11 commit b3e6e7b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/checkForUpdates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,14 @@ jobs:
const data = await response.json();
//? Check for New Targets
const listFromSchema = schema.properties.target.enum;
const listFromSchema = schema.definitions.ThemeTarget.enum;
const listFromApi = Object.keys(data.filters);
//TODO: check for differences
const listsAreEqual = listFromSchema.every((elem) => listFromApi.includes(elem)) && listFromApi.every((elem) => listFromSchema.includes(elem));
if (!listsAreEqual) {
newTargets = true;
schema.properties.target.enum = listFromApi;
schema.definitions.ThemeTarget.enum = listFromApi;
}
const themePyPath = path.join(cwdPath, "css-loader", "css_theme.py");
Expand All @@ -131,6 +131,7 @@ jobs:
if (currentVersion !== newVersion) {
newManifestVersion = true;
schema.default.manifest_version = newVersion;
schema.properties.manifest_version.description = `The manifest version. This should almost always be the latest version.\n\nLatest Version: ${newVersion}`;
schema.properties.manifest_version.const = newVersion;
}
Expand Down
8 changes: 0 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ All notable changes to the `CSS Loader for VS Code` extension will be documented

<!-- replace me with new updates! -->

## v1.7.0



## v1.7.0



## v1.7.0

New Features:
Expand Down
8 changes: 4 additions & 4 deletions manifest-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "Something to spice up your Steamdeck experience!",
"author": "You",
"version": "v1.0.0",
"manifest_version": 8,
"manifest_version": 9,
"target": "Home",
"tabs": {
"default": [
Expand All @@ -31,7 +31,7 @@
"description": "The name of the theme. Make it short and catchy! (IMPORTANT: Once submitted, this name can not be changed)",
"type": "string"
},
"displayName": {
"display_name": {
"description": "The display name of the theme. This is what is shown on the store and to users.",
"type": "string"
},
Expand Down Expand Up @@ -70,13 +70,13 @@
"uniqueItems": true
},
"target": {
"description": "A theme target or an array of theme targets. These help users tell what the theme styles at a glance.",
"description": "The target(s) for your theme. These help users tell what the theme styles at a glance.",
"oneOf": [
{
"type": "array",
"uniqueItems": true,
"items": {
"$ref": "#/definitions/InjectionTargets"
"$ref": "#/definitions/ThemeTarget"
}
},
{
Expand Down

0 comments on commit b3e6e7b

Please sign in to comment.