Best practice for alternate glyph shape in variable font?

I have several instances where I need to have an alternate glyph shape in various weights. I can get the bracket trick to work great until I export as a variable font at which point it stops working. I’ve looked through Google and the forums to find the best practice for doing this with a variable font and can’t find anything that works.

Any help is appreciated.

(Tutorials are being updated, will take a few more days.)

Bracket trick should work for variable fonts as well. Working in Glyphs 3? Make sure you use the latest beta: Go to Glyphs > Preferences > Updates, activate both checkboxes and press the Update button.

In Glyphs 3, you also have the possibility to use the condition statement in feature code. See the Glyphs 3 release post (scroll down a little). But that is OTVar-only. For the static fonts, you would use Replace Glyphs parameters.