mirror of
https://github.com/OMGeeky/ItemChecklist.git
synced 2026-02-23 15:38:25 +01:00
delete travis, unload fixes.
This commit is contained in:
41
.travis.yml
41
.travis.yml
@@ -1,41 +0,0 @@
|
|||||||
language: generic
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
# Environment variables
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- MODNAME: ItemChecklist
|
|
||||||
- Deploy: no
|
|
||||||
|
|
||||||
script:
|
|
||||||
- pwd
|
|
||||||
- ls
|
|
||||||
- git tag
|
|
||||||
- cd $TRAVIS_BUILD_DIR
|
|
||||||
- ls
|
|
||||||
- export version=`curl http://javid.ddns.net/tModLoader/tools/latestmodversionsimple.php?modname=$MODNAME`
|
|
||||||
- echo "Mod Browser version is $version"
|
|
||||||
- export gitVersion=`git describe --abbrev=0 --tags`
|
|
||||||
- echo "git version is $gitVersion"
|
|
||||||
- if [[ "$version" = "$gitVersion" ]]; then echo "Version does match, no need to push release"; Deploy=no; else echo "Version does not match, need to push release"; git config --global user.email "builds@travis-ci.com"; git config --global user.name "Travis CI"; git tag $version -a -m "TravisCI Autogenerated Release"; Deploy=yes; fi
|
|
||||||
- echo $Deploy
|
|
||||||
|
|
||||||
before_deploy:
|
|
||||||
- wget -O $MODNAME.tmod http://javid.ddns.net/tModLoader/download.php?Down=mods/$MODNAME.tmod
|
|
||||||
- ls
|
|
||||||
|
|
||||||
# should only deploy if the script doesn't fail, meaning we have a new .tmod file to publish
|
|
||||||
deploy:
|
|
||||||
provider: releases
|
|
||||||
api_key: $GH_REPO_TOKEN
|
|
||||||
file: "$MODNAME.tmod"
|
|
||||||
skip_cleanup: true
|
|
||||||
on:
|
|
||||||
tags: false
|
|
||||||
condition: "$Deploy = yes"
|
|
||||||
@@ -34,6 +34,9 @@ namespace ItemChecklist
|
|||||||
public override void Unload()
|
public override void Unload()
|
||||||
{
|
{
|
||||||
ItemChecklistUI.vanillaIDsInSortOrder = null;
|
ItemChecklistUI.vanillaIDsInSortOrder = null;
|
||||||
|
instance = null;
|
||||||
|
ToggleChecklistHotKey = null;
|
||||||
|
ItemChecklistInterface = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void AddRecipes()
|
public override void AddRecipes()
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
author = jopojelly
|
author = jopojelly
|
||||||
version = 0.2.2.2
|
version = 0.2.2.3
|
||||||
displayName = Item Checklist
|
displayName = Item Checklist
|
||||||
homepage = https://forums.terraria.org/index.php?threads/item-checklist-in-game-100-item-collection-checklist.52786/
|
homepage = https://forums.terraria.org/index.php?threads/item-checklist-in-game-100-item-collection-checklist.52786/
|
||||||
hideCode = false
|
hideCode = false
|
||||||
@@ -8,4 +8,4 @@ includeSource = true
|
|||||||
languageVersion = 6
|
languageVersion = 6
|
||||||
includePDB = true
|
includePDB = true
|
||||||
notworkingside = Client
|
notworkingside = Client
|
||||||
buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, lib\*, .gitignore, .git\*, .travis.yml
|
buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, lib\*, .gitignore, .git\*
|
||||||
|
|||||||
Reference in New Issue
Block a user