Skip to content

Commit

Permalink
Added copyright notice
Browse files Browse the repository at this point in the history
  • Loading branch information
HackingM committed Nov 4, 2019
1 parent 2f12a1f commit 74f6642
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 hacking-gentoo
Copyright (c) 2019 Max Hacking

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
27 changes: 22 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
#!/usr/bin/env bash
set -e

if [[ -z "${GITHUB_WORKSPACE}" ]]; then
echo "Must set GITHUB_WORKSPACE in env"
function die()
{
echo "::error::$1"
echo "------------------------------------------------------------------------------------------------------------------------"
exit 1
fi
}

cd "${GITHUB_WORKSPACE}" || exit 2
cat << END
------------------------------------------------------------------------------------------------------------------------
_ _
__ _ ___| |_(_) ___ _ __ _ __ ___ _ __ ___ _ __ ___ __ _ _ __
/ _\` |/ __| __| |/ _ \| '_ \ _____| '__/ _ \ '_ \ / _ \| '_ \` _ \ / _\` | '_ \\
| (_| | (__| |_| | (_) | | | |_____| | | __/ |_) | (_) | | | | | | (_| | | | |
\__,_|\___|\__|_|\___/|_| |_| |_| \___| .__/ \___/|_| |_| |_|\__,_|_| |_|
|_|
https://github.com/hacking-gentoo/action-repoman (c) 2019 Max Hacking
------------------------------------------------------------------------------------------------------------------------
END

PORTDIR_OVERLAY="." repoman --straight-to-stable -dx full
[[ -z "${GITHUB_WORKSPACE}" ]] && die "Must set GITHUB_WORKSPACE in env"
cd "${GITHUB_WORKSPACE}" || die "GITHUB_WORKSPACE does not exist"

PORTDIR_OVERLAY="." repoman --straight-to-stable -dx full || die "Repoman failed"

echo "------------------------------------------------------------------------------------------------------------------------"

0 comments on commit 74f6642

Please sign in to comment.