Skip to content

Commit 0e01ac3

Browse files
committed
fix versioning --release --skip
1 parent 14797bd commit 0e01ac3

4 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Build & Release
22

33
on:
4-
push
4+
push:
5+
branches:
6+
- main
57

68
permissions:
79
contents: write
@@ -46,7 +48,7 @@ jobs:
4648
- name: Create GitHub Release
4749
uses: softprops/action-gh-release@v2
4850
with:
49-
name: Armstrong-${{ env.VERSION }}
51+
name: Armstrong v${{ env.VERSION }}
5052
tag_name: ${{ env.VERSION }}
5153
files: ./build/libs/*.jar
5254
body_path: ./CHANGELOG.md

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
### 🚀 Armstrong
77
[![Discord](https://img.shields.io/discord/1332991105695875123?logo=discord&label=discord)](https://discord.genesis.li)
8-
[![Latest Release](https://img.shields.io/github/v/release/Vaption/Armstrong.svg)](https://github.com/Vaption/Armstrong/releases)
9-
[![License](https://img.shields.io/github/license/Vaption/Armstrong.svg)](https://github.com/Vaption/Armstrong/blob/master/LICENSE)
8+
[![Latest](https://img.shields.io/github/v/release/Vaption/Armstrong.svg)](https://github.com/Vaption/Armstrong/releases/latest)
9+
[![License](https://img.shields.io/github/license/Vaption/Armstrong.svg)](https://github.com/Vaption/Armstrong/blob/main/LICENSE)
1010

1111
**Armstrong** is a simple plugin that utilizes
1212
[LunarClient](https://lunarclient.com)'s [Apollo API](https://github.com/LunarClient/Apollo).

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
}
55

66
group = 'li.genesis.armstrong'
7-
version = '1.0'
7+
version = '1.0.0'
88

99
java {
1010
toolchain {

src/main/java/li/genesis/armstrong/hook/PlaceholderAPIHook.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public boolean persist() {
2525

2626
@Override
2727
public @NotNull String getVersion() {
28-
return "1.0";
28+
return "1.0.0";
2929
}
3030

3131
@Override

0 commit comments

Comments
 (0)