Skip to content

Commit

Permalink
publishing script
Browse files Browse the repository at this point in the history
  • Loading branch information
Python1320 committed Dec 16, 2023
1 parent e23cdce commit cdf1e9a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
10 changes: 10 additions & 0 deletions gma_gen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
rm dist/ -rf
npm install && \
rm -f *.gma outfitter_publish/*.gma && \
cp addon.json dist/ && \
LD_LIBRARY_PATH=ci/gluac/ ./ci/gluac/gmad_linux create -folder dist -out outfitter-$(date +'%Y-%m-%d').gma && \
mv *.gma outfitter_publish/ && \
sleep 5 && \
"$HOME/steamcmd.sh" +login metastruct +workshop_build_item "$PWD/outfitter_publish.vdf"

Binary file added outfitter_publish.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions outfitter_publish.vdf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"workshopitem"
{
"appid" "4000"
"publishedfileid" "882463775"
"contentfolder" "/home/srcds/Steam/steamapps/common/GarrysModDS/garrysmod/outfitter/outfitter_publish"
"changenote" "bugfixes additional 2"
}

0 comments on commit cdf1e9a

Please sign in to comment.