diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index e08a2b8..7a9abf4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -49,11 +49,10 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: "nightly" - release_name: ${{steps.get-version.outputs.assembly-version}} + tag_name: ${{steps.get-version.outputs.assembly-version}} + release_name: Nightly ${{steps.get-version.outputs.assembly-version}} draft: false body: | - Update ${{steps.get-version.outputs.assembly-version}} Available ${{ github.event.head_commit.message }} prerelease: false diff --git a/Main.cs b/Main.cs index c8296d1..dd5509d 100644 --- a/Main.cs +++ b/Main.cs @@ -139,9 +139,8 @@ public void CheckUpdate() var GetDataUpdate = API.GetUpdate(); if (GetDataUpdate != null) { - // If versions are not same, try asking user to update? - var name_version = GetDataUpdate.name; // version - var judul = GetDataUpdate.tag_name; // is dev or nightly + var judul = GetDataUpdate.name; // is dev or nightly or name update + var name_version = GetDataUpdate.tag_name; // version name var infobody = GetDataUpdate.body; // info var version1 = new Version(name_version); @@ -153,7 +152,7 @@ public void CheckUpdate() { // versi 1 lebih besar Set_Version.Text = "Version: " + ver + " (New Update: " + name_version + " )"; - var tes = MessageBox.Show(infobody, "Version " + judul + " Available", MessageBoxButtons.YesNo, MessageBoxIcon.Question); + var tes = MessageBox.Show(infobody, judul, MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (tes == DialogResult.Yes) { var url_dl = "";