a8m / a8m/envsubst

syntax error near unexpected token `then'

Đang mở
#60 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
907
Fork
96
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Today the steps that install envsubst in my circleci pipelines turned up broken, error:

```
/bin/bash: -c: line 6: syntax error near unexpected token `then'
Exited with code exit status 2
```
The only thing I do in my .yml file is call the orb:

```
orbs:
envsubst: sawadashota/envsubst@volatile
```

and later in a step of the command I perform the installation

```
steps:
- checkout
- envsubst/install
```

Reviewing it, I realized that yesterday the release was published with version 1.4.2 for the circleci orb. I checked the commits of the merged [version](https://github.com/a8m/envsubst/releases/tag/v1.4.2) yesterday but I can't find anything directly related that is causing the error. Can you give me a hand?

https://circleci.com/developer/orbs/orb/sawadashota/envsubst
Screenshot 2023-10-30 at 12 05 30 PM

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

The issue is about a bash syntax error in the CircleCI orb installation script. Look at the orb's source in the repository, likely under a directory like .circleci or in the orb definition. Check the install command or script for bash syntax issues, particularly around 'then' tokens in conditional statements. Test the script locally in a bash shell to reproduce the error. The fix involves correcting the bash script syntax.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
bash, go, shell
Lĩnh vực
ci-cd, cli, devops
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.