Skip to content

Commit ca5a881

Browse files
committed
update(src): rename manifest to core and update workflow build
1 parent e84b0e3 commit ca5a881

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Temporarily update Lua file version for release
2828
id: update_version
2929
run: |
30-
VERSION_FILE="plugins/tags/manifest.lua"
30+
VERSION_FILE="plugins/tags/core.lua"
3131
TAG_VERSION="${GITHUB_REF##*/}"
3232
3333
echo "Version file: $VERSION_FILE"
@@ -42,12 +42,15 @@ jobs:
4242
4343
# Save the tag version to an environment variable
4444
echo "TAG_VERSION=$TAG_VERSION" >> $GITHUB_ENV
45-
45+
- name: Remove README and LICENSE files
46+
run: |
47+
echo "Removing README and LICENSE files"
48+
rm -f README.md LICENSE
4649
- name: Create ZIP archive
4750
id: create_zip
4851
run: |
4952
REPO_NAME=$(basename -s .git `git config --get remote.origin.url`)
50-
ZIP_NAME="${REPO_NAME}-${TAG_VERSION}.zip"
53+
ZIP_NAME="${REPO_NAME}.zip"
5154
echo "ZIP Name: $ZIP_NAME"
5255
zip -r "$ZIP_NAME" . -x "*.git*"
5356
echo "ZIP_PATH=$ZIP_NAME" >> $GITHUB_ENV

plugins/tags/manifest.lua renamed to plugins/tags/core.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ function GetPluginName()
88
return "tags"
99
end
1010
function GetPluginWebsite()
11-
return "https://github.com/m3ntorsky/tags"
11+
return "https://github.com/swiftly-solution/tags"
1212
end

0 commit comments

Comments
 (0)