Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

behold! automagic updates! #7

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ jobs:
# What directory to run muddler in.
#workingDir: # optional, default is ${{ github.workspace }}

- name: Build With Muddler [MUDKIP_install]
# You may pin to the exact commit or the version.
# uses: demonnic/build-with-muddler@a9355b3c4f93553287e0f2d4087508b9f6164225
uses: demonnic/build-with-muddler@v1.4
with:
# Version of muddler to use
muddlerVersion: LATEST # optional, default is LATEST
# What directory to run muddler in.
workingDir: "${{ github.workspace }}/MUDKIP_install"

#- name: Upload Artifact
# # https://github.com/marketplace/actions/upload-a-build-artifact#using-outputs
# uses: actions/upload-artifact@v4.3.3
Expand All @@ -60,7 +70,7 @@ jobs:
- uses: ncipollo/release-action@v1
# see https://github.com/marketplace/actions/create-release
with:
artifacts: "build/MUDKIP_Mud2.*,src/resources/version.txt"
artifacts: "build/MUDKIP_Mud2.mpackage,src/resources/version.txt,MUDKIP_install/build/MUDKIP_install.mpackage"
allowUpdates: true
bodyFile: "./README.md"
tag: ${{ env.mfile_version }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 1.1.1

*7/6/2024*

* Added automatic updates so you (hopefully) don't need to manually update MUDKIP any more :)

## 1.1.0

*7/6/2024*
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Please ensure you have Mudlet installed and are using Mudlet.
And, again, this is *only intended to be used for MUD2!*
This is very unlikely to work on any other MUD, so don't try it.

also yes, we have auto-updates now (very nice)

![a screenshot of MUDKIP being used in mudlet](/docs/readme.png)

## Installation and Uninstallation
Expand All @@ -40,7 +42,7 @@ Open your MUD2 profile in mudlet and enter this command:
The main thing *MUDKIP* does is add the status indicators
mentioned above. It shows your stats at a glance, current
status afflictions, current weather, time until the next reset,
and the most recent dreamword you recieved.
and the most recent dreamword you received.

The only automation it currently offers is sending a `fes`
every so often whilst in-game (to obtain the current status of
Expand All @@ -67,6 +69,7 @@ whistles like speedwalking, fancy maps, re-fighting, etc.
* The stats etc with the current state of your persona are
in the `MUDKIP_Mud2.stats` table.
* UI stuff is held in `MUDKIP_Mud2.ui`
* Auto-update stuff is held in `MUDKIP_Mud2.updates`

## Final thoughts, how to contribute, thanks, things like that

Expand All @@ -81,14 +84,12 @@ if you wish to contribute to the development of *MUDKIP*.

## CHANGELOG

* **1.1.0** (7/6/2024)
* Replaced the semi-automatic fes with an auto fes
* Added `dword` alias for automatically saying dreamword
* Added version indicator
* Some backend changes
* **1.1.1** (7/6/2024)
* Added automatic updates so you (hopefully) don't need to manually update MUDKIP any more :)


See [CHANGELOG.md](https://github.com/11BelowStudio/MUDKIP_Mud2/CHANGELOG.md) for the full changelog.

## TODO

* automatic updates via github.
* see what people want I guess
2 changes: 1 addition & 1 deletion mfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package": "MUDKIP_Mud2",
"version": "1.1.0",
"version": "1.1.1",
"author": "11BelowStudio",
"title": "Multi User Dungeon Kool Informational Panels (for playing MUD2 with Mudlet)",
"outputFile": true,
Expand Down
2 changes: 1 addition & 1 deletion release.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"package": "MUDKIP_Mud2",
"version": "1.1.0",
"version": "1.1.1",
"author": "11BelowStudio",
"title": "Multi User Dungeon Kool Informational Panels (for playing MUD2 with Mudlet)",
"outputFile": true,
Expand Down
5 changes: 0 additions & 5 deletions src/scripts/MUDKIP_Mud2/MUDKIP_Mud2_example_script.lua

This file was deleted.

6 changes: 5 additions & 1 deletion src/scripts/MUDKIP_Mud2/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ if not MUDKIP_Mud2 then
end
local endprefix = "</b></i></u></o></s><reset> - "

cecho(prefix .. type .. endprefix .. _message)
cecho("main",prefix .. type .. endprefix .. _message)
end

local M2Updates = {}

MUDKIP_Mud2.updates = M2Updates


local M2UI = {}

Expand Down
7 changes: 3 additions & 4 deletions src/scripts/MUDKIP_Mud2/scripts.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@
"eventHandlerList": []
},
{
"name": "MUDKIP_Mud2_example_script",
"eventHandlerList": [
"sysInstall"
]
"name":"updates",
"isActive":"yes",
"eventHandlerList": []
}
]
Loading
Loading