Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update emailcli to 1.1.0 #4963

Merged
merged 3 commits into from
Sep 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ consul \[frozen\] | 1.16.4 | Hashicorp consul
[![doctl](https://github.com/cloudposse/packages/actions/workflows/doctl.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Adoctl) | 1.112.0 | A command line tool for DigitalOcean services
[![ec2-instance-selector](https://github.com/cloudposse/packages/actions/workflows/ec2-instance-selector.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aec2-instance-selector) | 2.4.1 | A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory
[![ecspresso](https://github.com/cloudposse/packages/actions/workflows/ecspresso.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aecspresso) | 2.4.1 | Ecspresso is a deployment tool for Amazon ECS
[![emailcli](https://github.com/cloudposse/packages/actions/workflows/emailcli.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aemailcli)* | 1.0.3 | Command line email sending client written in Go.
[![emailcli](https://github.com/cloudposse/packages/actions/workflows/emailcli.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aemailcli)* | 1.1.0 | Command line email sending client written in Go.
[![envcli](https://github.com/cloudposse/packages/actions/workflows/envcli.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aenvcli)* | 0.7.1 | A simple wrapper that allows you to run commands within ethereal docker containers
[![fetch](https://github.com/cloudposse/packages/actions/workflows/fetch.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Afetch) | 0.4.6 | fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
[![figurine](https://github.com/cloudposse/packages/actions/workflows/figurine.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Afigurine) | 1.3.0 | Print your name in style
Expand Down
2 changes: 1 addition & 1 deletion docs/badges.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ consul \[frozen\] | 1.16.4 | Hashicorp consul
[![doctl](https://github.com/cloudposse/packages/actions/workflows/doctl.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Adoctl) | 1.112.0 | A command line tool for DigitalOcean services
[![ec2-instance-selector](https://github.com/cloudposse/packages/actions/workflows/ec2-instance-selector.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aec2-instance-selector) | 2.4.1 | A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory
[![ecspresso](https://github.com/cloudposse/packages/actions/workflows/ecspresso.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aecspresso) | 2.4.1 | Ecspresso is a deployment tool for Amazon ECS
[![emailcli](https://github.com/cloudposse/packages/actions/workflows/emailcli.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aemailcli)* | 1.0.3 | Command line email sending client written in Go.
[![emailcli](https://github.com/cloudposse/packages/actions/workflows/emailcli.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aemailcli)* | 1.1.0 | Command line email sending client written in Go.
[![envcli](https://github.com/cloudposse/packages/actions/workflows/envcli.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Aenvcli)* | 0.7.1 | A simple wrapper that allows you to run commands within ethereal docker containers
[![fetch](https://github.com/cloudposse/packages/actions/workflows/fetch.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Afetch) | 0.4.6 | fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
[![figurine](https://github.com/cloudposse/packages/actions/workflows/figurine.yml/badge.svg?branch=main)](https://github.com/cloudposse/packages/actions?query=workflow%3Afigurine) | 1.3.0 | Print your name in style
Expand Down
2 changes: 1 addition & 1 deletion docs/targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ doctl 1.112.0 A command line tool for DigitalOcean servic
duffle OBSOLETE CNAB installer
ec2-instance-selector 2.4.1 A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory
ecspresso 2.4.1 Ecspresso is a deployment tool for Amazon ECS
emailcli* 1.0.3 Command line email sending client written in Go.
emailcli* 1.1.0 Command line email sending client written in Go.
envcli* 0.7.1 A simple wrapper that allows you to run commands within ethereal docker containers
fargate OBSOLETE (OBSOLETE, use aws/copilot-cli instead) CLI for AWS Fargate
fetch 0.4.6 fetch makes it easy to download files, folders, and release assets from a specific public git commit, branch, or tag
Expand Down
17 changes: 12 additions & 5 deletions vendor/emailcli/Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
# Package details
export VENDOR ?= wrouesnel
export APK_BUILD_TEMPLATE ?= APKBUILD.github-binary
export DOWNLOAD_URL ?= $(PACKAGE_REPO_URL)/releases/download/v$(PACKAGE_VERSION)/email
export APKBUILD_DEPENDS += ca-certificates
export PACKAGE_EXE = email

# arm64 not supported
export PACKAGE_ARCHS_DISABLED = arm64
# https://github.com/wrouesnel/emailcli/releases/download/v1.1.0/emailcli_v1.1.0_linux-amd64.tar.gz
export DOWNLOAD_URL ?= https://github.com/wrouesnel/emailcli/releases/download/v$(PACKAGE_VERSION)/emailcli_v$(PACKAGE_VERSION)_$(OS)-$(ARCH).tar.gz


include ../../tasks/Makefile.vendor_includes

# Unusual: the published package is named emailcli, but the executable is email
# The recipe expect the executable in the package to have the same name as the package
install: PACKAGE_NAME = email
install:
$(call download_binary)
$(call download_tar_gz)

test:
$(PACKAGE_EXE) --version
@echo -n "Testing $$(basename $(PACKAGE_EXE))... "
@$(PACKAGE_EXE) [email protected] --version 2>&1 | grep -q -F $(PACKAGE_VERSION) && echo Pass || { printf "\n\nERROR: %s not found in version output '%s'\n\n" "$(PACKAGE_VERSION)" "$$($(PACKAGE_EXE) [email protected] --version)"; exit 1; }

package/prepare::
mv src/emailcli_v$(PACKAGE_VERSION)_$(OS)-$(ARCH)/email src/email
2 changes: 1 addition & 1 deletion vendor/emailcli/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.3
1.1.0
Loading