bump versions

This commit is contained in:
Reinaldy Rafli 2022-04-17 22:12:34 +07:00
parent 986e3f03bf
commit c55e1aeea2
No known key found for this signature in database
GPG Key ID: 748A8EC5DB8653E8
6 changed files with 9 additions and 11 deletions

View File

@ -131,7 +131,6 @@ export LIBGL_ALWAYS_INDIRECT=1
# set DISPLAY variable to the IP automatically assigned to WSL2
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
sudo /etc/init.d/dbus start &> /dev/null
. "$HOME/.cargo/env"
# enable GPG signing
export GPG_TTY=$(tty)

View File

@ -235,7 +235,7 @@ distributed under the License is distributed on an \"AS IS\" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.")
spdx = "Apache-2.0"
global spdx = "Apache-2.0"
elseif license == "mit"
# MIT license
write(io, "MIT License
@ -259,7 +259,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.")
spdx = "MIT"
global spdx = "MIT"
elseif license == "gpl" || license == "gpl-3.0" || license == "gpl3" || license == "gpl3.0"
# GPL-3.0 license
write(io, " GNU GENERAL PUBLIC LICENSE
@ -936,7 +936,7 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.")
spdx = "GPL-3.0"
global spdx = "GPL-3.0"
elseif license == "unlicense"
# Unlicesne
write(io, "This is free and unencumbered software released into the public domain.
@ -963,7 +963,7 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <https://unlicense.org>")
spdx = "Unlicense"
global spdx = "Unlicense"
elseif license == "wtfpl" || license == "do what the fuck you want"
write(io, " DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
@ -978,7 +978,7 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.")
spdx = "WTFPL"
global spdx = "WTFPL"
else
println("License name is invalid")
end

3
go/env
View File

@ -1,3 +1,2 @@
GO111MODULE=on
GOPRIVATE=repository.klgsys.com
GOPROXY=https://goproxy.io,direct
GOPROXY=https://proxy.golang.org,direct

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERSION="2.34.0"
VERSION="2.35.2"
function install () {
cd ~

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERSION="1.17.7"
VERSION="1.18.1"
function install () {
echo "installing go"

View File

@ -15,7 +15,7 @@ function install () {
function install_alt () {
cd ~
sudo apt-get install openjdk-11-jre openjdk-11-jdk
sudo apt-get install openjdk-17-jre openjdk-17-jdk
printf "\n\n"
java --version
printf "\n"