Compare commits
No commits in common. "4147e7c9deca620fa4b2ffd8ced27014b4110e99" and "58e4c375c428dbad21e5cc791ed2ba735ffe7dda" have entirely different histories.
4147e7c9de
...
58e4c375c4
@ -1,5 +1,4 @@
|
||||
FROM alpine:3
|
||||
FROM scratch
|
||||
COPY ca-certificates.crt /etc/ssl/certs/
|
||||
COPY rbxcompiler /
|
||||
WORKDIR /stage
|
||||
ENTRYPOINT ["/rbxcompiler"]
|
@ -52,7 +52,7 @@ func build() {
|
||||
fmt.Printf("Logged in as %s...\n", rbx.Username)
|
||||
fmt.Printf("Uploading file to roblox...\n")
|
||||
|
||||
id, err := rbx.CreateAsset(&roblox.AssetUploadOptions{
|
||||
resp, err := rbx.CreateAsset(&roblox.AssetUploadOptions{
|
||||
AssetID: *assetId,
|
||||
Group: *groupId,
|
||||
}, buffer)
|
||||
@ -62,7 +62,7 @@ func build() {
|
||||
return
|
||||
}
|
||||
|
||||
fmt.Printf("Uploaded ID = %d\n", id)
|
||||
fmt.Printf("Uploaded ID %d VERSION %d\n", resp.AssetID, resp.AssetVersionID)
|
||||
}
|
||||
|
||||
fmt.Println("Complete!")
|
||||
|
2
go.mod
2
go.mod
@ -3,7 +3,7 @@ module git.itzana.me/itzaname/rbxcompiler
|
||||
go 1.15
|
||||
|
||||
require (
|
||||
git.itzana.me/itzaname/go-roblox v1.0.1
|
||||
git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92
|
||||
git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d
|
||||
github.com/google/uuid v1.1.2
|
||||
)
|
||||
|
4
go.sum
4
go.sum
@ -1,5 +1,5 @@
|
||||
git.itzana.me/itzaname/go-roblox v1.0.1 h1:kWcuw/Kbds9ppbqs8sAI403AyScd7ntt0N7qZiOtEY8=
|
||||
git.itzana.me/itzaname/go-roblox v1.0.1/go.mod h1:x+fEejcurT8y/Vq+/ErqDHZm04d9lmYDGxjGpcPvJW4=
|
||||
git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92 h1:O0we09WIpFm18LSODLVfYvmll6UamygaftHiuHrHMkQ=
|
||||
git.itzana.me/itzaname/go-roblox v0.0.0-20210810235437-3574e3d70d92/go.mod h1:x+fEejcurT8y/Vq+/ErqDHZm04d9lmYDGxjGpcPvJW4=
|
||||
git.itzana.me/itzaname/rbxapi v0.1.0 h1:tmIGSKSgy2dEuKKar8/uyUgMvcBxq7VxXL5U8+SPJes=
|
||||
git.itzana.me/itzaname/rbxapi v0.1.0/go.mod h1:xLmFDqsHxDbA841GccVxiK8IIpgciymGMgZB3dzeXsM=
|
||||
git.itzana.me/itzaname/rbxfile v0.0.0-20210811000911-6fc7a2281e8d h1:K9qkm1OlnTpKR7jBRYu1lI/Wr7zbTCOYHrWkP1GhnzQ=
|
||||
|
Loading…
Reference in New Issue
Block a user