question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Confused about the usage of 'raw'

See original GitHub issue

I feel pretty confused about the usage of raw. According to the explanation, users always get the actual tag name. But it has different results for a release and pre-release.

I’m wondering if it’s possible to let it have the same behavior.

* `raw` ; the actual tag

| Git tag            | Pattern                                                  | Output               |
|--------------------|----------------------------------------------------------|----------------------|
| `v1.2.3`           | `{{raw}}`                                                | `v1.2.3`             |
| `v2.0.8-beta.67`   | `{{raw}}`                                                | `2.0.8-beta.67`*     |

I already read the following explanation. But I cannot understand why a pre-release version should not have the prefix v.

> *Pre-release (rc, beta, alpha) will only extend `{{version}}` as tag because they are updated frequently,
> and contain many breaking changes that are (by the author's design) not yet fit for public consumption.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
crazy-maxcommented, Dec 6, 2021

@LinuxSuRen Good point, raw should always return the actual tag, even for a pre-release. Will fix that.

1reaction
LinuxSuRencommented, Dec 6, 2021

My bad. It works well. Thanks for your quick fixing. Great job!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rah vs raw Homophones Spelling & Definition - Grammarist
Rah and raw are commonly confused words that are pronounced in the same way but are spelled differently and have different meanings, which...
Read more >
Raw Definition & Meaning - Merriam-Webster
unprepared or imperfectly prepared for use. c. : not being in polished, finished, or processed form. raw data. a raw draft of a...
Read more >
Raw image format - Wikipedia
Not to be confused with Rawdisk. A camera raw image file contains unprocessed or minimally processed data from the image ... There are...
Read more >
Confused about how to use .raw fields and not analyze string ...
I am using logstash with the elasticsearch output to populate my index. In my searching around the web, my understanding is that the...
Read more >
'The Future Of Raw Processing' Or Confused Alternative?
This is me being pedantic though… ... While it may not be 100% technically correct, I prefer RAW capitalized. It is used to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found