Skip to content

Commit 2d44828

Browse files
committed
chore: prepare pre-release for 0.8
1 parent 6f03fa7 commit 2d44828

5 files changed

Lines changed: 38 additions & 9 deletions

File tree

.circleci/config.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
at: "./.workspace"
8888
- run:
8989
name: "Lists the build artifacts and version"
90-
command: " echo Build Artifacts && ls -al .workspace/build-artifacts && echo && echo Version $(cat .workspace/temp/version.txt)"
90+
command: "echo Build Artifacts && ls -al .workspace/build-artifacts && echo && echo Version $(cat .workspace/temp/version.txt)"
9191

9292
publish-release:
9393
docker:
@@ -104,9 +104,17 @@ jobs:
104104
name: "Set version as environment variable"
105105
command: "export VERSION=v$(cat .workspace/temp/version.txt)"
106106

107+
- run:
108+
name: "Log attached workspace"
109+
command: "echo Attached Workspace && ls -al .workspace && echo && ls -al .workspace/build-artifacts && echo && ls -al .workspace/temp"
110+
111+
- run:
112+
name: "Log environment variables"
113+
command: "echo Username: ${CIRCLE_PROJECT_USERNAME} && echo Repository Name: ${CIRCLE_PROJECT_REPONAME} && echo Commit Hash: ${CIRCLE_SHA1} && echo Version: v$(cat .workspace/temp/version.txt)"
114+
107115
- run:
108116
name: "Publish Release on GitHub"
109-
command: "ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} .workspace/build-artifacts"
117+
command: "ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete v$(cat .workspace/temp/version.txt) .workspace/build-artifacts"
110118

111119
- discord/status:
112120
fail_only: false

README.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
1-
# React Item
2-
Spigot plugin that customizes the items in Minecraft. By injecting states into the items. And, using [React](https://github.com/facebook/react) philosophy.
1+
# React Item `0.8`
2+
Spigot library to provide developers the ability to create custom items in Minecraft.
33

4-
Items should be registered to be identified from the vanilla items.
5-
Each item has its own actions and if the state has changed while firing those actions. The item will be re-rendered (Aka changed).
4+
It customizes the items in Minecraft. By injecting states into the items tag.
5+
6+
Items should be registered in order to be identified from the vanilla items.
7+
Each item has its own states and if the state has changed while firing those actions. The item will be re-rendered (Aka changed).
68

79
This will allow the plugin developer to add more customized items.
810
And, even prevent the vanilla items to avoid unexpected behaviours.
911

12+
**Note:** This library has been tested on `1.8.x`
13+
14+
# Hot list
15+
A cooler name for TODO list.
16+
- [ ] Detect changes in the state container
17+
- [ ] Events to trigger changes to the item
18+
- [ ] Java Agent to insert hooks in the `CraftInventory`
19+
- [ ] Fix unstackable items problem
20+
21+
# Getting Started
22+
```java
23+
class ExamplePlugin extends JavaPlugin {
24+
private ReactItemAPI reactItemAPI;
25+
26+
public void onEnable() {
27+
reactItemAPI = (ReactItemAPI) getServer().getPluginManager().getPlugin("ReactItem");
28+
}
29+
}
30+
```

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ internal val buildTools = BuildTools(
3232

3333
allprojects {
3434
group = "me.ihdeveloper"
35-
version = "0.1"
35+
version = "0.8"
3636

3737
if (project != rootProject) {
3838
apply(plugin = "java")

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: ReactItem
2-
version: 0.1
2+
version: 0.8
33
author: iHDeveloper
44
main: me.ihdeveloper.react.item.Main

test/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ReactItem-Test
2-
version: 0.1
2+
version: 0.8
33
author: iHDeveloper
44
main: me.ihdeveloper.react.item.test.Main
55
depend:

0 commit comments

Comments
 (0)